Table of Contents

Class PageSettings

Namespace
Alternet.Drawing.Printing
Assembly
Alternet.UI.Common.dll

Specifies settings that apply to a single, printed page.

public class PageSettings : HandledObject<IPageSettingsHandler>, IBaseObject, IDisposableObject, IDisposable, INotifyPropertyChanged
Inheritance
PageSettings
Implements

Remarks

The PageSettings class is used to specify settings that modify the way a page will be printed. Typically, you set default settings for all pages to be printed through the PageSettings property. To specify settings on a page-by-page basis, handle the PrintPage event and modify the PageSettings argument included in the PrintPageEventArgs.

Constructors

PageSettings()

Initializes a new instance of the PageSettings class.

PageSettings(IPageSettingsHandler)

Initializes a new instance of the PageSettings class.

Properties

Color

Gets or sets a value indicating whether the page should be printed in color.

Landscape

Gets or sets a value indicating whether the page is printed in landscape or portrait orientation.

Margins

Gets or sets the margins for this page.

PaperSize

Gets or sets the paper size for the page.

PrinterResolution

Gets or sets the printer resolution for the page.

Methods

CreateHandler()

Creates handler.