Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
IView..::..TextAreaWidth Property
IView Interface See Also Send Feedback

Gets or sets width of the virtual text area.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

# Syntax

C#
    int TextAreaWidth { get; set; }

Visual Basic
    Property TextAreaWidth As Integer
    	Get
    	Set

#### Property Value

Type: Int32

# Remarks

This property accesses the width of the *virtual* text area. Text area indicates the logical space where Azuki draws text content and is not the area which is graphically visible; visible text area is a portion of the text area.

Since Azuki only draws text in the text area, width of it affectes how text lines were drawn. If IUserInterface.ViewType was set to ViewType.Proportional, the width will be expanded as needed to continue drawing a long logical line. If IUserInterface.ViewType was set to ViewType.WrappedProportional, each logical text lines will be wrapped at right end of the text area.

Note that text area does not contain line-number area nor left margin.

# Exceptions

Exception | Condition
--- | ---
System..::..ArgumentOutOfRangeException | A negative number was set.

# See Also

IView Interface
IView..::..IView Members
Sgry.Azuki Namespace