IVsHiddenTextClientEx::GetBannerGlyphWidth Method (Int32, Int32)

 

Determines how much space to set aside for banner glyph.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int GetBannerGlyphWidth(
	int iPixSpaceWidth,
	[OutAttribute] int% pGlyphPix
)

Parameters

iPixSpaceWidth
Type: System::Int32

[in] The pixel space width.

pGlyphPix
Type: System::Int32

[out] The glyph width in pixels.

Return Value

Type: System::Int32

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

From textmgr2.idl:

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

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

Return to top
Show: