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

定义

在给定的 DC & RECT 中绘制字形。

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

[in]的 GLYPHDRAWFLAGSORing。

hdc
IntPtr

nativeint

[in]设备上下文句柄。

pRect
RECT[]

[in]指向 RECT 的指针。

iLineHeight
Int32

[in]行高。

返回

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

注解

COM 签名

从 textmgr.idl:

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

适用于