Partager via


IVsTextLayerMarker.DrawGlyph Method (IntPtr, array<RECT )

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

'Déclaration
Function DrawGlyph ( _
    hdc As IntPtr, _
    pRect As RECT() _
) As Integer
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

DrawGlyph Overload

Microsoft.VisualStudio.TextManager.Interop Namespace