IDocumentPrinter.PageSetup

Syntax

PageSetup(SectionIndex: Integer; [ParentWindow: IWin32Window = Null]);

Parameters

SectionIndex - parameter that determines index of the section, which parameters must be changed.

ParentWindow - window, for which this dialog box opens modally. By default, ParentWindow is the current form.

Description

The PageSetup method opens the Page Settings dialog box for the specified section of the document.

Comments

The contents of the dialog box are determined by the object that is connected as a source for the current DocumentPrinter component.

See also:

IDocumentPrinter