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

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
[DefaultValueAttribute()]
public double CustomWidth { get; set; }
Visual Basic
<DefaultValueAttribute()> _
Public Property CustomWidth As Double
	Get
	Set

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.

The default value for this property is 0.

See Also