Share via


VsTextViewClass.GetLineHeight(Int32) Method

Definition

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.

Implements

Applies to