ActiveReports 16 .NET Edition
GrapeCity.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / ARControl Class / Size Property
Example

In This Topic
    Size Property (ARControl)
    In This Topic
    Gets or sets the size of the control in inches.
    Syntax
    'Declaration
     
    Public Overridable Property Size As SizeF
    public virtual SizeF Size {get; set;}

    Property Value

    System.Drawing.SizeF.
    Example
    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;
    }
    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