Udostępnij za pośrednictwem


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

Definicja

Rysuje glif w danym kontrolerze domeny & 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

[w] ORing o wartości GLYPHDRAWFLAGS.

hdc
IntPtr

nativeint

[w] Uchwyt kontekstu urządzenia.

pRect
RECT[]

[w] Wskaźnik do RECT.

iLineHeight
Int32

[w] Wysokość linii.

Zwraca

Jeśli metoda powiedzie się, zwraca wartość S_OK. Jeśli nie powiedzie się, zwraca kod błędu.

Uwagi

Podpis COM

Z pliku textmgr.idl:

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

Dotyczy