Freigeben über


IVsTextImage.GetLineSize(Int32) Method

Definition

Returns the number of lines in the text image.

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

Parameters

pcLines
Int32

[out] Pointer to a count of lines in 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::GetLineSize(  
   [out, retval] LONG * pcLines  
);  

Applies to