Vcl.Dialogs.TPageSetupDialog.GetDefaults

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDefaults: Boolean;

C++

bool __fastcall GetDefaults();

Properties

Type Visibility Source Unit Parent
function public
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TPageSetupDialog

Description

Displays the page setup dialog.

GetDefaults obtains the default settings for the current printer, initializes the printer, and sets the page margin options accordingly. GetDefaults returns true if this operation succeeds, false otherwise.