IVsTextLayerMarker.DrawGlyph Method (IntPtr, array<RECT[])
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 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
- hdc
Type: System.IntPtr
[in] Device context handle.
- pRect
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
[in] Pointer to RECT.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTextMarker.DrawGlyph(IntPtr, array<RECT[])
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextLayerMarker::DrawGlyph(
[in] HDC hdc,
[in] RECT *pRect
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.