IVsTextMarkerType.DrawGlyphEx(UInt32, IntPtr, RECT[], Int32) Método

Definição

Desenha um glifo na margem do widget, dado um contexto de dispositivo de exibição e um retângulo delimitador.

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

Parâmetros

dwFlags
UInt32

no Opções para desenhar o glifo na margem do widget. Para obter uma lista de dwFlags valores, consulte GLYPHDRAWFLAGS .

hdc
IntPtr

no Identificador para um contexto de dispositivo de exibição que define a região de interesse visível.

pRect
RECT[]

no Ponteiro para uma estrutura RECT, que define as coordenadas dos cantos superior esquerdo e inferior direito do retângulo delimitador.

iLineHeight
Int32

no Altura da linha, com base nas configurações de fonte.

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Comentários

Assinatura COM

De textmgr. idl:

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

Implemente DrawGlyph e IVsTextMarkerType.DrawGlyphEx . Para fornecer maior flexibilidade, tenha a implementação de DrawGlyph Call IVsTextMarkerType.DrawGlyphEx .

Aplica-se a