ITextView.ViewportTop ITextView.ViewportTop ITextView.ViewportTop ITextView.ViewportTop Property

Definition

Gets the position of the top edge of the viewpoint in the text rendering coordinate system.

public:
 property double ViewportTop { double get(); };
public double ViewportTop { get; }
member this.ViewportTop : double
Public ReadOnly Property ViewportTop As Double
Property Value

The top edge of the viewport.

Remarks

This property is read-only. The value can be either positive or negative. When the viewport layout is only partially changed, ViewportTop is increased or decreased by the number of pixels up or down that the view has been scrolled. When the viewport layout is completely changed (such that all of the lines of the previous layout are changed), ViewportTop is reset to 0.0.

Applies to