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. |