IVsTextView.GetLineHeight(Int32) Method

Definition

Returns the pixel height of a line.

C++/WinRT
int GetLineHeight([Runtime::InteropServices::Out] int & piLineHeight);

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:

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

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022