Share via


IVsTextLayerMarker.DrawGlyphEx(UInt32, IntPtr, RECT[], Int32) Method

Definition

Draws a glyph in the given DC & RECT.

public:
 int DrawGlyphEx(System::UInt32 dwFlags, IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRect, int iLineHeight);
public int DrawGlyphEx (uint dwFlags, IntPtr hdc, Microsoft.VisualStudio.OLE.Interop.RECT[] pRect, int iLineHeight);
abstract member DrawGlyphEx : uint32 * nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] * int -> int
Public Function DrawGlyphEx (dwFlags As UInteger, hdc As IntPtr, pRect As RECT(), iLineHeight As Integer) As Integer

Parameters

dwFlags
UInt32

[in] ORing of GLYPHDRAWFLAGS.

hdc
IntPtr

nativeint

[in] Device context handle.

pRect
RECT[]

[in] Pointer to the RECT.

iLineHeight
Int32

[in] The line height.

Returns

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  
);  

Applies to