ActiveReports Developer 7
Width Property
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > ARControl Class : Width Property

Glossary Item Box

Gets or sets the width of the control in inches.

Syntax

Visual Basic (Declaration) 
Public Property Width As System.Single
C# 
public System.float Width {get; set;}

Property Value

A float or Single value in inches.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.textBox1.Height = 1;
    this.textBox1.Width = 2;
    this.textBox1.Left = 2;
    this.textBox1.Top = 0;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    With Me.TextBox1
        .Height = 1
        .Width = 2
        .Left = 2
        .Top = 0
    End With
End Sub

See Also