Freigeben über


IVsHiddenTextClientEx.GetBannerGlyphWidth Method

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)

Syntax

'Declaration
Function GetBannerGlyphWidth ( _
    iPixSpaceWidth As Integer, _
    <OutAttribute> ByRef pGlyphPix As Integer _
) As Integer
int GetBannerGlyphWidth(
    int iPixSpaceWidth,
    out int pGlyphPix
)
int GetBannerGlyphWidth(
    [InAttribute] int iPixSpaceWidth, 
    [OutAttribute] int% pGlyphPix
)
abstract GetBannerGlyphWidth : 
        iPixSpaceWidth:int * 
        pGlyphPix:int byref -> int 
function GetBannerGlyphWidth(
    iPixSpaceWidth : int, 
    pGlyphPix : int
) : int

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.

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.

.NET Framework Security

See Also

Reference

IVsHiddenTextClientEx Interface

Microsoft.VisualStudio.TextManager.Interop Namespace