IVsTextLayerMarker.DrawGlyph Method

Draws a glyph in the given DC & RECT.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

声明
Function DrawGlyph ( _
    hdc As IntPtr, _
    pRect As RECT() _
) As Integer
用法
Dim instance As IVsTextLayerMarker
Dim hdc As IntPtr
Dim pRect As RECT()
Dim returnValue As Integer

returnValue = instance.DrawGlyph(hdc, _
    pRect)
int DrawGlyph(
    IntPtr hdc,
    RECT[] pRect
)
int DrawGlyph(
    [InAttribute] IntPtr hdc, 
    [InAttribute] array<RECT>^ pRect
)
abstract DrawGlyph : 
        hdc:IntPtr * 
        pRect:RECT[] -> int 
function DrawGlyph(
    hdc : IntPtr, 
    pRect : RECT[]
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTextMarker.DrawGlyph(IntPtr, array<RECT[])

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLayerMarker::DrawGlyph(
   [in] HDC hdc,
   [in] RECT *pRect
);

.NET Framework Security

See Also

Reference

IVsTextLayerMarker Interface

IVsTextLayerMarker Members

Microsoft.VisualStudio.TextManager.Interop Namespace