IVsHiddenTextClientEx.GetBannerGlyphWidth(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.