TCustomPrintDialog class
Implements the base class for
TPrintDialog.
Declaration
TCustomPrintDialog = class(TCommonDialog)Inheritance
- TCustomPrintDialog
- TCommonDialog
- TLCLComponent
- TComponent
- TPersistent
- TObject
Description
TCustomPrintDialog provides properties needed to configure print
jobs in the TPrintDialog descendant.
Use the Options property to enable or disable use of specific properties on the dialog.
Use the Execute method to display the dialog and capture the values entered using the dialog. Use UserChoice to determine the button clicked or action taken to close the dialog.
The TPrintDialog descendant is defined in the printer4lazarus
package.
Properties
Collate | public | Enables or disables page collation when multiple copies are produced. |
Copies | public | Number of Copies requested for the document. |
FromPage | public | First page number to include in the print request. |
MinPage | public | Smallest value allowed in the page number for a print range. |
MaxPage | public | Largest value allowed in the page number for a print range. |
Options | public | Set of options enabled when the print dialog is executed. |
PrintToFile | public | When True, printing is spooled to a file instead of directly to the printer. |
PrintRange | public | Determines which values are used to represent the page range. |
ToPage | public | ToPage - the final page number in the range for printing. |
Methods
Create | public | Constructor for the class instance. |
Inherited
From TCommonDialog (25)
AttachTo Close DefaultTitle DoCanClose DoClose DoExecute DoShow Execute GetHeight GetWidth Handle HandleAllocated Height HelpContext OnCanClose OnClose OnDialogResult OnShow ResetShowCloseFlags SetHeight SetWidth Title UserChoice Width WSRegisterClass
From TLCLComponent (8)
DecLCLRefCount Destroy GetWSComponentClass IncLCLRefCount LCLRefCount NewInstance RemoveAllHandlersOfObject WidgetSetClass
From TComponent (74)
_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState
From TPersistent (5)
Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (36)
AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
