Condividi tramite


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

'Declaration
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.

Remarks

COM Signature

From textmgr.idl:

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

.NET Framework Security

See Also

Reference

IVsTextLayerMarker Interface

Microsoft.VisualStudio.TextManager.Interop Namespace