IVsTextView.GetLineHeight(Int32) Method
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);
C++/WinRT
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
- piLineHeight
- Int32
[out, retval] Integer containing the line height, in pixels.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
cpp#
HRESULT IVsTextView::GetLineHeight(
[out, retval] long * piLineHeight
);
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |