IVsTextLayer.GetLengthOfLine(Int32, Int32) Method

Definition

Returns the length of a line.

int GetLengthOfLine(int iLine, [Runtime::InteropServices::Out] int & piLength);

Parameters

iLine
Int32

[in] Line of interest.

piLength
Int32

[out] Length of the line.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLayer::GetLengthOfLine(  
   [in] long iLine,  
   [out] long *piLength  
);  

Applies to