FMX.Platform.IFMXDialogService.PageSetupGetDefaults
Delphi
function PageSetupGetDefaults(var AMargin, AMinMargin: TRect; var APaperSize: TPointF; AUnits: TPageMeasureUnits; AOptions: TPageSetupDialogOptions): Boolean;
C++
virtual bool __fastcall PageSetupGetDefaults(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, PageSetupGetDefaults implements functionality to return the default printing page setup options.
PageSetupGetDefaults accepts the following parameters:
Parameter | Meaning |
AMargin
|
Contains the page margins. |
AMinMargin
|
Contains the minimum page margins. |
APaperSize
|
Contains the paper size that will be used to print on. |
AUnits
|
Contains the page measuring units (centimeters or inches). |
AOptions
|
Contains a set of options for the print dialog box. |
PageSetupGetDefaults returns True if the printing page setup dialog box was executed correctly, False otherwise.