IVsTextLayerMarker.DrawGlyphEx(UInt32, IntPtr, RECT[], Int32) 方法

定义

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

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

参数

dwFlags
UInt32

中的 Or GLYPHDRAWFLAGS

hdc
IntPtr

nativeint

中设备上下文句柄。

pRect
RECT[]

中指向矩形的指针。

iLineHeight
Int32

中行高。

返回

Int32

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

注解

COM 签名

从 textmgr:

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

适用于