Gets or sets the paper size for the report.
Namespace:
C1.C1ReportAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
[DefaultValueAttribute(PaperKind.Custom)] [ComVisibleAttribute(false)] public PaperKind PaperSize { get; set; } |
Visual Basic |
---|
<DefaultValueAttribute(PaperKind.Custom)> _ <ComVisibleAttribute(False)> _ Public Property PaperSize As PaperKind Get Set |
Remarks
The default value for this property is PaperKind.Custom.
Examples
The following code sets the paper size to Legal (8.5" x 11"):
Copy CodeVisual Basic
c1r.Layout.PaperSize = PaperKind.Legal |
Copy CodeC#
c1r.Layout.PaperSize = PaperKind.Legal; |
For an example using the PaperSize property, see the Specifying Custom Paper Size topic.