TCnPageSetupDialog Class
Enables users to change page-related print settings, including margins and paper orientation.
CNClrLib.Control.Base.TClrBaseComponent
CNClrLib.Component.PageSetupDialog.TCnPageSetupDialog
type TCnPageSetupDialog = class(TClrBaseComponent) end;
The TCnPageSetupDialog type exposes the following members.
Name | Description | |
---|---|---|
Create(TComponent) | Creates and initializes a TCnPageSetupDialog instance. (Overrides TClrBaseComponent.Create(TComponent).) | |
Destroy | Frees the resources allocated with a TCnPageSetupDialog instance. (Overrides TClrBaseComponent.Destroy.) |
Name | Description | |
---|---|---|
AllowMargins | Gets or sets a value indicating whether the margins section of the dialog box is enabled. | |
AllowOrientation | Gets or sets a value indicating whether the orientation section of the dialog box (landscape versus portrait) is enabled. | |
AllowPaper | Gets or sets a value indicating whether the paper section of the dialog box (paper size and paper source) is enabled. | |
AllowPrinter | Gets or sets a value indicating whether the Printer button is enabled. | |
DefaultClrObject | Get the common language runtime object interface for this component. (Inherited from TClrBaseComponent.) | |
Document | Gets or sets a value indicating the TCnPrintDocument to get page settings from. | |
EnableMetric | Gets or sets a value indicating whether the margin settings, when displayed in millimeters, should be automatically converted to and from hundredths of an inch. | |
MinMargins | Gets or sets a value indicating the minimum margins, in hundredths of an inch, the user is allowed to select. | |
PageSettings | Gets or sets a value indicating the page settings to modify. | |
PrinterSettings | Gets or sets the printer settings that are modified when the user clicks the Printer button in the dialog. | |
ShowHelp | Gets or sets a value indicating whether the Help button is visible. | |
ShowNetwork | Gets or sets a value indicating whether the Network button is visible. |
Name | Description | |
---|---|---|
Dispose | Releases the resources used by the Component. (Inherited from TClrBaseComponent.) | |
DoGetDefaultClrObject | Represents method | |
DoGetDotNetBaseComponent | Represents method | |
DoOnMarginChanged(TObject) | Represents method | |
GetClrObject | Represents method | |
Notification(TComponent,TOperation) | Represents method | |
RegisterEventCallBack(ClrWString,Pointer) | Add an event to the instance using the specified event name and function pointer which is the event handler. The RegisterEventCallBack method does not directly add the event handler to the event. A hooking mechanism is used such that if the event is fired, the hook event is also fired which in turn calls the function pointer. (Inherited from TClrBaseComponent.) | |
RegisterEventSource | Register the Delphi object which will raise the .Net event handler. (Inherited from TClrBaseComponent.) | |
Reset | Resets all options to their default values. | |
ShowDialog | Overloaded. Runs a common dialog box with a default owner. | |
ShowDialog(TWinControl) | Overloaded. Runs a common dialog box with the specified owner. | |
UnRegisterEventCallBack(ClrWString,Pointer) | Remove an event from the instance using the specified event name and function pointer which is the event handler. (Inherited from TClrBaseComponent.) | |
UnRegisterEventSource | Unregister the Delphi object which raised the .Net event handler. (Inherited from TClrBaseComponent.) |
Name | Description | |
---|---|---|
OnHelpRequest | Occurs when the user clicks the Help button on a common dialog box. |
See C:\Users\Public\Documents\CrystalNet Technologies\.Net VCL for Delphi Demo Folder after installation for examples of how to use this component.