VsTextViewClass.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:
virtual int GetLineHeight([Runtime::InteropServices::Out] int % piLineHeight) = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::GetLineHeight;
public:
virtual int GetLineHeight([Runtime::InteropServices::Out] int % piLineHeight);
virtual int GetLineHeight([Runtime::InteropServices::Out] int & piLineHeight);
public virtual int GetLineHeight (out int piLineHeight);
abstract member GetLineHeight : int -> int
override this.GetLineHeight : int -> int
Public Overridable 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.