'Declaration Public Class ReportSettings
'Usage Dim instance As ReportSettings
public class ReportSettings
'Declaration Public Class ReportSettings
'Usage Dim instance As ReportSettings
public class ReportSettings
The report settings constitute various parameters of a report that generally are specific to a grid; that have no place in a ReportStyleSheet or ReportStyle instance. Usually a user would want these settings saved each time he prints a report with a specific grid. This saving feature is the default behavior of ReportSettings.
System.Object
Xceed.Grid.Reporting.ReportSettings
Name | Description | |
---|---|---|
![]() | Color | Gets or sets a boolean value indicating if the report should be printed in color. |
![]() | ColumnLayout | Gets or sets a value indicating how columns which surpass the available page width are printed in a report. |
![]() | CustomVariables | Gets a dictionary of case-insensitive custom variables. |
![]() ![]() | DefaultPath | Gets or sets the default path from which the XML files containing the report settings are saved and loaded. |
![]() | IsColorDefined | Gets a boolean value indicating if the Color property has been explicitly set. |
![]() | IsColumnLayoutDefined | Gets a boolean value indicating if the ColumnLayout property has been explicitly set. |
![]() | IsLandscapeDefined | Gets a boolean value indicating if the Landscape property has been explicitly set. |
![]() | IsMarginsDefined | Gets a boolean value indicating if the Margins property has been explicitly set. |
![]() | IsPaperSizeDefined | Gets a boolean value indicating if the PaperSize property has been explicitly set. |
![]() | IsPaperSourceNameDefined | Gets a boolean value indicating if the PaperSourceName property has been explicitly set. |
![]() | IsPrinterNameDefined | Gets a boolean value indicating if the PrinterName property has been explicitly set. |
![]() | IsTitleDefined | Gets a boolean value indicating if the Title property has been explicitly set. |
![]() | Landscape | Gets or sets a boolean value indicating if the report should be printed in landscape orientation. |
![]() | Margins | Gets or sets the margins of the printed report. |
![]() | PaperSize | Gets or sets the size of the paper on which the report will be printed. |
![]() | PaperSource | Gets the paper tray from which the printer gets paper. |
![]() | PaperSourceName | Gets or sets the name of the paper source. |
![]() | PersistedColumnProperties | Gets a collection containing the case-sensitive names of the ColumnReportStyle properties that will be saved when the Save method is called, and loaded when the Load method is called. |
![]() | PersistedSettings | Gets the case-sensitive names of the properties of the ReportSettings that will be persisted with the grid and saved or loaded when the Save or Load methods are called. |
![]() | PrinterName | Gets or sets the name of the printer on which to print the report. |
![]() | Title | Gets or sets the title of the report. |
Name | Description | |
---|---|---|
![]() | Load | Overloaded. Loads the report settings from the XML file contained in the DefaultPath. |
![]() | ResetColor | Resets the value of the Color property to its default value, false. |
![]() | ResetColumnLayout | Resets the value of the ColumnLayout property to its default value, ColumnLayout.SpanAcrossPages. |
![]() ![]() | ResetDefaultPath | Resets the value of the DefaultPath property to its default value, System.Windows.Forms.Application.LocalUserAppDataPath. |
![]() | ResetLandscape | Resets the value of the Landscape property to its default value, false. |
![]() | ResetMargins | Resets the value of the Margins property to its default value, a null reference (Nothing in Visual Basic). |
![]() | ResetPaperSize | Resets the value of the PaperSize property to its default value, a null reference (Nothing in Visual Basic). |
![]() | ResetPaperSourceName | Resets the value of the PaperSourceName property to its default value, a null reference (Nothing in Visual Basic). |
![]() | ResetPrinterName | Resets the value of the PrinterName property to its default value. |
![]() | ResetTitle | Resets the value of the Title property to its default value, Xceed.Grid.GridControl.Title. |
![]() | Save | Overloaded. Saves the values of the properties specified by the PersistedColumnProperties and PersistedSettings properties to a file in the DefaultPath. |
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