IVsTextView.GetLineHeight(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);