[]
        
(Showing Draft Content)

C1.Report.Layout.CustomWidth

CustomWidth Property

CustomWidth

Gets or sets the custom width for the report, in twips.

Declaration
[C1Description("Layout.CustomWidth", "The custom paper width, in twips. Used if PaperSize is Custom. Set to 0 to use the default paper size.")]
[TypeConverter(typeof(PageUnitConverter))]
public double CustomWidth { get; set; }
<C1Description("Layout.CustomWidth", "The custom paper width, in twips. Used if PaperSize is Custom. Set to 0 to use the default paper size.")>
<TypeConverter(GetType(PageUnitConverter))>
Public Property CustomWidth As Double
Remarks

To create reports using custom paper sizes, set the PaperSize property to 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 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 custom and the CustomWidth or CustomHeight properties are set to zero, the printer's default paper size is used.