ActiveReports 14 .NET Edition
GrapeCity.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Barcode Class / AutoSize Property
Example

In This Topic
    AutoSize Property (Barcode)
    In This Topic
    Gets or sets whether the barcode automatically stretches to fit the control.
    Syntax
    'Declaration
     
    Public Property AutoSize As Boolean
    public bool AutoSize {get; set;}

    Property Value

    Boolean. The default value is True.
    Example
    private void detail_Format(object sender, System.EventArgs eArgs)
    {
        this.barcode1.AutoSize = true;
    }
    Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
        Me.Barcode1.AutoSize = True
    End Sub
    See Also