Share via


IVsTextImage.GetCharSize(Int32) Method

Definition

Returns the number of characters in the text image.

public:
 int GetCharSize([Runtime::InteropServices::Out] int % pcch);
int GetCharSize([Runtime::InteropServices::Out] int & pcch);
public int GetCharSize (out int pcch);
abstract member GetCharSize : int -> int
Public Function GetCharSize (ByRef pcch As Integer) As Integer

Parameters

pcch
Int32

[out] Pointer to a character count of the text image.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextImage::GetCharSize(  
   [out, retval] LONG * pcch  
);  

Applies to