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

定义

绘制给定 DC 矩形中的标志符号 & 。

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

中设备上下文句柄。

pRect
RECT[]

中指向 RECT 的指针。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

注解

COM 签名

从 textmgr:

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

适用于