IVsTextLayerMarker.DrawGlyphEx 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 DrawGlyphEx ( _
    dwFlags As UInteger, _
    hdc As IntPtr, _
    pRect As RECT(), _
    iLineHeight As Integer _
) As Integer
int DrawGlyphEx(
    uint dwFlags,
    IntPtr hdc,
    RECT[] pRect,
    int iLineHeight
)
int DrawGlyphEx(
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] IntPtr hdc, 
    [InAttribute] array<RECT>^ pRect, 
    [InAttribute] int iLineHeight
)
abstract DrawGlyphEx : 
        dwFlags:uint32 * 
        hdc:IntPtr * 
        pRect:RECT[] * 
        iLineHeight:int -> int 
function DrawGlyphEx(
    dwFlags : uint, 
    hdc : IntPtr, 
    pRect : RECT[], 
    iLineHeight : int
) : 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::DrawGlyphEx(
   [in] DWORD dwFlags,
   [in] HDC hdc,
   [in] RECT *pRect,
   [in] long iLineHeight
);

.NET Framework Security

See Also

Reference

IVsTextLayerMarker Interface

Microsoft.VisualStudio.TextManager.Interop Namespace