次の方法で共有


IVsAtomicTextProvider.GetAtomGlyphWidth(Int32, Int32) Method

Definition

Gets the width of the glyph.

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

Parameters

iPixSpaceWidth
Int32

[in] The width of a pixel.

pGlyphPix
Int32

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

Applies to