Sdílet prostřednictvím


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

Definice

Vykreslí glyf v daném stejnosměrné & 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

Parametry

dwFlags
UInt32

[v] Oring of GLYPHDRAWFLAGS.

hdc
IntPtr

nativeint

[v] Popisovač kontextu zařízení.

pRect
RECT[]

[v] Ukazatel na rect.

iLineHeight
Int32

[v] Výška čáry.

Návraty

Pokud je metoda úspěšná, vrátí S_OK. Pokud selže, vrátí kód chyby.

Poznámky

Podpis modelu COM

Z textmgr.idl:

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

Platí pro