IVsTextLayerMarker.DrawGlyph(IntPtr, RECT[]) 方法

定義

在指定的DC & RECT 中繪製字元。

public:
 int DrawGlyph(IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRect);
public int DrawGlyph (IntPtr hdc, Microsoft.VisualStudio.OLE.Interop.RECT[] pRect);
abstract member DrawGlyph : nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
Public Function DrawGlyph (hdc As IntPtr, pRect As RECT()) As Integer

參數

hdc
IntPtr

nativeint

[in]裝置內容句柄。

pRect
RECT[]

[in]RECT 的指標。

傳回

如果方法成功,它會傳回 S_OK。 如果方法失敗,則會傳回錯誤碼。

實作

備註

COM 簽章

從 textmgr.idl:

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

適用於