PageSettings
Specifies settings that apply to a single, printed page.
Definition
Namespace:Telerik.Reporting.Drawing
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(PageSettingsConverter))]
public class PageSettings : ReportObject
Inheritance: objectReportObjectPageSettings
Inherited Members
Constructors
Internal use only
public PageSettings()
Initializes a new instance of the PageSettings class with the specified PageSettings and PrinterSettings.
public PageSettings(PageSettings pageSettings, PrinterSettings printerSettings)
A PageSettings object specifying the landscape and paper kind.
printerSettingsPrinterSettingsA PrinterSettings object specifying the papers size and margins.
Properties
BackgroundColor
Color
Gets or sets the background color of the page.
public Color BackgroundColor { get; set; }
A Color that represents the background color of the page. The default is Empty, which indicates that this property is not set.
Use the BackgroundColor property to specify the background color of the page. This property is set using a Color object.
Gets a BackgroundImage object that controls the image displayed in the background of the page.
public BackgroundImage BackgroundImage { get; }
An BackgroundImage that represents the image to display in the background of the report item. Report items have no background image by default.
Gets a BorderColor object used to define the page border color.
public BorderColor BorderColor { get; }
A BorderColor representing the page border color.
Gets a BorderStyle object used to define the page border style.
public BorderStyle BorderStyle { get; }
A BorderStyle representing the page border style.
Gets a BorderWidth object used to define the page border width.
public BorderWidth BorderWidth { get; }
A BorderWidth representing the page border width.
ColumnCount
int
Gets or sets a value that specifies how many columns are present in the DetailSection of the report.
public int ColumnCount { get; set; }
An integer value specifying the number of columns. The value should be equal to or greater than 1. The default is 1.
Column widths are calculated based on the following rule: DetailWidth = ColumnWidth * ColumnCount + ColumSpacing * (ColumnCount - 1)
Multi-column reports are primarily used for printing labels.
Gets or sets a value indicating the space in Units between two adjacent columns.
ContinuousPaper
bool
Gets or sets a value indicating whether the report is printed without being paginated (as one long page).
public bool ContinuousPaper { get; set; }
true if the report should be printed as one page; otherwise, false. The default value is false
Landscape
bool
Gets or sets a value indicating whether the page is printed in landscape or portrait orientation.
public bool Landscape { get; set; }
true if the page should be printed in landscape orientation; otherwise, false.
Gets or sets the margins for this page.
public MarginsU Margins { get; set; }
A MarginsU that represents the margins for the page.
PaperKind
PaperKind
Gets or sets the paper kind for the page.
public PaperKind PaperKind { get; set; }
A PaperKind that represents the kind of the paper.
Gets or sets the paper size for the page.
public SizeU PaperSize { get; set; }
A SizeU that represents the size of the paper.
Specifies a collection of watermarks for the page.
public WatermarkCollection Watermarks { get; }
Methods
Clone()
object
This member implements Clone()
public object Clone()
object
The cloned PageSettings.
ToPageSettings(PrinterSettings)
PageSettings
Returns a PageSettings object based on the given PrinterSettings parameter.
public PageSettings ToPageSettings(PrinterSettings printerSettings)
A PrinterSettings object from which to create the PageSettings.
Returns:PageSettings
A PageSettings object initialized from the printerSettings.