ComponentOne AutoComplete for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Report Namespace / Layout Class / CustomWidth Property

In This Topic
    CustomWidth Property
    In This Topic
    Gets or sets the custom width for the report, in twips.
    Syntax
    'Declaration
     
    Public Property CustomWidth As System.Double
    public System.double CustomWidth {get; set;}
    Remarks

    To create reports using custom paper sizes, set the PaperSize property to System.Drawing.Printing.PaperKind.Custom, then set the CustomWidth and CustomHeight properties to the size of the page measured in twips.

    If the PaperSize is set to a value other than System.Drawing.Printing.PaperKind.Custom, the paper size is determined by that setting. The CustomWidth and CustomHeight properties are not used in this case.

    If the PaperSize is set to System.Drawing.Printing.PaperKind.Custom and the CustomWidth or CustomHeight properties are set to zero, the printer's default paper size is used.

    See Also