C1.C1Report Namespace > Layout Class : CustomHeight Property |
To create reports using custom paper sizes, set the Layout.PaperSize property to System.Drawing.Printing.PaperKind.Custom, then set the Layout.CustomWidth and Layout.CustomHeight properties to the size of the page measured in twips.
If the Layout.PaperSize is set to a value other than System.Drawing.Printing.PaperKind.Custom, the paper size is determined by that setting. The Layout.CustomWidth and Layout.CustomHeight properties are not used in this case.
If the Layout.PaperSize is set to System.Drawing.Printing.PaperKind.Custom and the Layout.CustomWidth or Layout.CustomHeight properties are set to zero, the printer's default paper size is used.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2