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

C#
Visual Basic

Azuki 1.7 Documentation
AzukiControl..::..ViewWidth Property
AzukiControl Class See Also Send Feedback

Gets or sets width of the content area (including line number area).

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

# Syntax

C#
    public int ViewWidth { get; set; }

Visual Basic
    Public Property ViewWidth As Integer
    	Get
    	Set

#### Property Value

Type: Int32

# Remarks

This property gets or sets width by pixel of the whole graphical area containing line number area, dirt bar area, left border, and text area.

If you want to specify this property not by pixels but by number of characters, you can use IView.HRulerUnitWidth value as 'reasonable' avarage width of characters.

# See Also

AzukiControl Class
AzukiControl..::..AzukiControl Members
Sgry.Azuki.WinForms Namespace
AzukiControl.View property