Compartir a través de


ITextView.ViewportLeft Property

Definition

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.

Applies to