Class PageSettings
Specifies settings that apply to a single, printed page.
Inherited Members
Namespace: Telerik.Reporting.Drawing
Assembly: Telerik.Reporting.dll
Syntax
public class PageSettings : ReportObject, ICloneable
Remarks
The PageSettings class is used to specify settings that modify the way a page will be printed.
Constructors
PageSettings()
Declaration
public PageSettings()
PageSettings(PageSettings, PrinterSettings)
Initializes a new instance of the PageSettings
class with the specified
System.
Declaration
public PageSettings(PageSettings pageSettings, PrinterSettings printerSettings)
Parameters
System. A System. |
System. A System. |
Properties
BackgroundColor
Gets or sets the background color of the page.
Declaration
public Color BackgroundColor { get; set; }
Property Value
System. A System. |
Remarks
Use the BackgroundColor property to specify the background color
of the page. This property is set using a
System.
BackgroundImage
Gets a Background
Declaration
public BackgroundImage BackgroundImage { get; }
Property Value
Background An Background |
BorderColor
Gets a Border
Declaration
public BorderColor BorderColor { get; }
Property Value
Border A Border |
Remarks
BorderStyle
Gets a Border
Declaration
public BorderStyle BorderStyle { get; }
Property Value
Border A Border |
Remarks
BorderWidth
Gets a Border
Declaration
public BorderWidth BorderWidth { get; }
Property Value
Border A Border |
Remarks
ColumnCount
Gets or sets a value that specifies how many columns are present
in the Detail
Declaration
public int ColumnCount { get; set; }
Property Value
System. An integer value specifying the number of columns. The value should be equal to or greater than 1. The default is 1. |
Remarks
Column widths are calculated based on the following rule: DetailWidth = ColumnWidth * ColumnCount + ColumSpacing * (ColumnCount - 1)
Multi-column reports are primarily used for printing labels.
ColumnSpacing
Gets or sets a value indicating the space in Units between two adjacent columns.
Declaration
public Unit ColumnSpacing { get; set; }
Property Value
Unit
A Unit value specifying the space between two adjacent columns. The value should be a non-negative Unit. The default is Zero |
Remarks
This property should be used when there should be some blank space left between adjacent columns.
ContinuousPaper
Gets or sets a value indicating whether the report is printed without being paginated (as one long page).
Declaration
public bool ContinuousPaper { get; set; }
Property Value
System. true if the report should be printed as one page; otherwise, false. The default value is false |
Landscape
Gets or sets a value indicating whether the page is printed in landscape or portrait orientation.
Declaration
public bool Landscape { get; set; }
Property Value
System. true if the page should be printed in landscape orientation; otherwise, false. |
Margins
Gets or sets the margins for this page.
Declaration
public MarginsU Margins { get; set; }
Property Value
PaperKind
Gets or sets the paper kind for the page.
Declaration
public PaperKind PaperKind { get; set; }
Property Value
System. A System. |
PaperSize
Gets or sets the paper size for the page.
Declaration
public SizeU PaperSize { get; set; }
Property Value
Watermarks
Specifies a collection of watermarks for the page.
Declaration
public WatermarkCollection Watermarks { get; }
Property Value
Methods
Clone()
This member implements System.
Declaration
public object Clone()
Returns
System. The cloned PageSettings. |
ToPageSettings(PrinterSettings)
Returns a System.
Declaration
public PageSettings ToPageSettings(PrinterSettings printerSettings)
Parameters
System. A System. |
Returns
System. A System. |