Skip to main content
A newer version of this page is available. .

XtraPageSettingsBase Members

The base for classes that provide functionality to print reports.

Fields

Name Description
DefaultPaperKind Represents the default paper type (Letter) used in a report.

Properties

Name Description
BottomMargin Gets or sets the bottom page margin.
BottomMarginF Gets or sets the bottom page margin.
Bounds Gets the bounds of a report page, taking into account the page orientation specified by the XtraPageSettingsBase.Landscape property.
Data For internal use.
DefaultMargins static Specifies the default margins for a report’s pages.
DefaultMinMargins static Specifies the default minimum margins for a report’s pages.
Landscape Gets or sets a value indicating whether the page orientation is landscape.
LeftMargin Gets or sets the left page margin.
LeftMarginF Gets or sets the left page margin.
Margins Gets the margins of a report page.
MarginsF Gets the margins of a report page measured in three hundredths of an inch.
MinMargins Gets the minimum size allowed for a report’s margins.
PaperKind Gets or sets the type of paper for the document.
PaperName Gets or sets the name of the custom paper used in the printer to be used in printing the document.
PrinterName Gets or sets the name of the printer to use when printing the document.
RightMargin Gets or sets the right page margin.
RightMarginF Gets or sets the right page margin.
RollPaper Specifies whether the document is supposed to be printed on roll paper (i.e., as a single uninterrupted page).
TopMargin Gets or sets the top page margin.
TopMarginF Gets or sets the top page margin.
UsablePageRect Gets the rectangle on the page (in hundredths of an inch) that can contain data.
UsablePageSize Gets the width and height (in hundredths of an inch) of the page region that can contain data.
UsablePageSizeInPixels Gets the width and height (in pixels) of the page region that can contain data.

Methods

Name Description
ApplyPageSettings(XtraPageSettingsBase, PaperKind, Size, Margins, Margins, Boolean, String) static Applies the defined page settings.
ApplyPageSettings(XtraPageSettingsBase, PaperKind, Size, Margins, Margins, Boolean) static Applies the defined page settings.
Assign(MarginsF, MarginsF, PaperKind, Size, Boolean, String) Assigns the page margins, minimum margins, paper kind and other document settings, simultaneously.
Assign(MarginsF, PaperKind, SizeF, Boolean) Assigns the page margins, paper kind, paper size and page orientation of a document, simultaneously.
Assign(PageData) For internal use.
Assign(Margins, Margins, PaperKind, Size, Boolean, String) Assigns the page margins, minimum margins, paper kind and page orientation of a document, simultaneously.
Assign(Margins, Margins, PaperKind, Size, Boolean) Assigns the page margins, minimum margins, paper kind and page orientation of a document, simultaneously.
Assign(Margins, PaperKind, Boolean) Assigns the page margins, paper kind and page orientation of a document, simultaneously.
Assign(Margins, PaperKind, Size, Boolean) Assigns the page margins, paper kind, paper size and page orientation of a document, simultaneously.
Assign(Margins, PaperKind, String, Boolean) Assigns the page margins, paper kind, paper name and page orientation of a document, simultaneously.
Assign(PageSettings, Margins) Assigns the specified page settings with the specified minimum margins.
AssignDefaultPageSettings() Assigns the default page settings to a report document.
AssignPrinterSettings(String, String, PrinterSettingsUsing) Assigns the printer settings to the current page settings according to the specified PrinterSettingsUsing value.
Dispose() Disposes of the XtraPageSettingsBase object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RestoreFromRegistry(String) Restores the document page settings from the specified registry.
RestoreFromStream(Stream) Restores the document page settings from the specified stream.
RestoreFromXml(String) Restores the document page settings from the specified XML file.
SaveToRegistry(String) Saves the document page settings to the specified registry.
SaveToStream(Stream) Saves the document page settings to the specified stream.
SaveToXml(String) Saves the document page settings to the specified XML file.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also