Partilhar via


Método IVsTextLayerMarker.DrawGlyph

Desenha um glifo em determinado controlador de domínio & RECT.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxe

'Declaração
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

Parâmetros

  • hdc
    Tipo: IntPtr

    [in]

  • pRect
    Tipo: array<RECT[]

    [in]

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsTextLayerMarker::DrawGlyph(
   [in] HDC hdc,
   [in] RECT *pRect
);

Segurança do .NET Framework

Consulte também

Referência

IVsTextLayerMarker Interface

Namespace Microsoft.VisualStudio.TextManager.Interop