Share via


IVsTextLayerMarker.DrawGlyph(IntPtr, RECT[]) Method

Definition

Draws a glyph in the given DC & RECT.

public:
 int DrawGlyph(IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRect);
public int DrawGlyph (IntPtr hdc, Microsoft.VisualStudio.OLE.Interop.RECT[] pRect);
abstract member DrawGlyph : nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
Public Function DrawGlyph (hdc As IntPtr, pRect As RECT()) As Integer

Parameters

hdc
IntPtr

nativeint

[in] Device context handle.

pRect
RECT[]

[in] Pointer to RECT.

Returns

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

Implements

Remarks

COM Signature

From textmgr.idl:

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

Applies to