FMX.Platform.IFMXDialogService.DialogPageSetup

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DialogPageSetup(var AMargin, AMinMargin: TRect; var APaperSize: TPointF;  var AUnits: TPageMeasureUnits; AOptions: TPageSetupDialogOptions): Boolean;

C++

virtual bool __fastcall DialogPageSetup(System::Types::TRect &AMargin, System::Types::TRect &AMinMargin, System::Types::TPointF &APaperSize, System::Uitypes::TPageMeasureUnits &AUnits, System::Uitypes::TPageSetupDialogOptions AOptions) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
FMX.Platform.pas
FMX.Platform.hpp
FMX.Platform IFMXDialogService

Description

In descendants, DialogPageSetup implements functionality to display and execute a printing page setup (options) dialog box.

DialogPageSetup accepts the following parameters:

Parameter Meaning
AMargin Specifies the page margins.
AMinMargin Specifies the minimum page margins.
APaperSize Specifies the paper size that will be used to print on.
AUnits Specifies the page measuring units (centimeters or inches).
AOptions Specifies a set of options for the print dialog box.

DialogPageSetup returns True if the printing page setup dialog box was executed correctly, False otherwise.

See Also