IVsTextMarkerType::DrawGlyphEx Method (UInt32, IntPtr, array<RECT>^, Int32)
Visual Studio 2015
Draws a glyph in the widget margin given a display device context and a bounding rectangle.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- dwFlags
-
Type:
System::UInt32
[in] Options for drawing the glyph in the widget margin. For a list of dwFlags values, see GLYPHDRAWFLAGS.
- hdc
-
Type:
System::IntPtr
[in] Handle to a display device context that defines the visible region of interest.
- pRect
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::RECT>^
[in] Pointer to a RECT structure, which defines the coordinates of the upper-left and lower-right corners of the bounding rectangle.
- iLineHeight
-
Type:
System::Int32
[in] Height of the line, based on font settings.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: