ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / ReportItem Class / Width Property
Example

In This Topic
    Width Property (ReportItem)
    In This Topic
    Gets or sets a width of the report item.
    Syntax
    'Declaration
     
    Public Overridable Property Width As Length
    public virtual Length Width {get; set;}

    Property Value

    A Length value indicating the width of the report item.
    Remarks

    Negative sizes are allowed only for Line items.

    If not specified, the default value is the width of the container minus the Left value.

    For Table and Matrix items, the width is derived from the sizes of their component parts (i.e. columns, rows, matrix cells).

    Example
    var reportItem = new TextBox();
    reportItem.Width = new Length("3in");
    See Also