ITextView.ViewportLeft Property
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.
Gets or sets the position of the left edge of the viewport in the text rendering coordinate system.
public:
property double ViewportLeft { double get(); void set(double value); };
public:
property double ViewportLeft { double get(); void set(double value); };
public double ViewportLeft { get; set; }
member this.ViewportLeft : double with get, set
Public Property ViewportLeft As Double
Property Value
The left edge of the viewport.
Remarks
When set, the horizontal offset is clipped to [0.0, Max(0.0, formatted text width - viewport width)] on non word-wrapped views, and [0,0] for views in which word-wrap is enabled.