Compartir a través de


IVsTextView.GetLineHeight(Int32) Method

Definition

Returns the pixel height of a line.

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

Parameters

piLineHeight
Int32

[out, retval] Integer containing the line height, in pixels.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextView::GetLineHeight(  
   [out, retval] long * piLineHeight  
);  

Applies to