IVsTextLayerMarker::DrawGlyphEx Method (UInt32, IntPtr, array<RECT>^, Int32)

 

Draws a glyph in the given DC & RECT.

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

int DrawGlyphEx(
	unsigned int dwFlags,
	IntPtr hdc,
	array<RECT>^ pRect,
	int iLineHeight
)

Parameters

dwFlags
Type: System::UInt32

[in] ORing of GLYPHDRAWFLAGS.

hdc
Type: System::IntPtr

[in] Device context handle.

pRect
Type: array<Microsoft.VisualStudio.OLE.Interop::RECT>^

[in] Pointer to the RECT.

iLineHeight
Type: System::Int32

[in] The line height.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsTextLayerMarker::DrawGlyphEx(
   [in] DWORD dwFlags,
   [in] HDC hdc,
   [in] RECT *pRect,
   [in] long iLineHeight
);
Return to top
Show: