다음을 통해 공유


IVsHiddenTextClientEx.GetBannerGlyphWidth(Int32, Int32) Method

Definition

Determines how much space to set aside for banner glyph.

public:
 int GetBannerGlyphWidth(int iPixSpaceWidth, [Runtime::InteropServices::Out] int % pGlyphPix);
int GetBannerGlyphWidth(int iPixSpaceWidth, [Runtime::InteropServices::Out] int & pGlyphPix);
public int GetBannerGlyphWidth (int iPixSpaceWidth, out int pGlyphPix);
abstract member GetBannerGlyphWidth : int * int -> int
Public Function GetBannerGlyphWidth (iPixSpaceWidth As Integer, ByRef pGlyphPix As Integer) As Integer

Parameters

iPixSpaceWidth
Int32

[in] The pixel space width.

pGlyphPix
Int32

[out] The glyph width in pixels.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

HRESULT IVsHiddenTextClientEx::GetBannerGlyphWidth(  
   [in]long iPixSpaceWidth,  
   [out] long *pGlyphPix  
);  

Note

Will be called only if hrbClientDrawn is specified in the region's flags.

Applies to