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

Glossary Item Box

Gets or sets the size of the control in inches.

Syntax

Visual Basic (Declaration) 
Public Overridable Property Size As SizeF
C# 
public virtual SizeF Size {get; set;}

Property Value

System.Drawing.SizeF.

Example

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

See Also