IVsAtomicTextProvider::GetAtomGlyphWidth Method (Int32, Int32)

 

Gets the width of the glyph.

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

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

Parameters

iPixSpaceWidth
Type: System::Int32

[in] The width of a pixel.

pGlyphPix
Type: System::Int32

[out] The width of the glyph 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 IVsAtomicTextProvider::GetAtomGlyphWidth(
   [in] long iPixSpaceWidth,
   [out] long *pGlyphPix
);
Return to top
Show: