共用方式為


IVsTextLayerMarker.DrawGlyphEx 方法

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

'宣告
Function DrawGlyphEx ( _
    dwFlags As UInteger, _
    hdc As IntPtr, _
    pRect As RECT(), _
    iLineHeight As Integer _
) As Integer
int DrawGlyphEx(
    uint dwFlags,
    IntPtr hdc,
    RECT[] pRect,
    int iLineHeight
)
int DrawGlyphEx(
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] IntPtr hdc, 
    [InAttribute] array<RECT>^ pRect, 
    [InAttribute] int iLineHeight
)
abstract DrawGlyphEx : 
        dwFlags:uint32 * 
        hdc:IntPtr * 
        pRect:RECT[] * 
        iLineHeight:int -> int
function DrawGlyphEx(
    dwFlags : uint, 
    hdc : IntPtr, 
    pRect : RECT[], 
    iLineHeight : int
) : int

參數

  • hdc
    類型:IntPtr

    [in]

  • pRect
    類型:array<RECT[]

    [in]

  • iLineHeight
    類型:Int32

    [in]

傳回值

類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。

備註

COM 簽章

從 textmgr.idl:

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

.NET Framework 安全性

請參閱

參考

IVsTextLayerMarker 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間