Skip to main content

TdxPSPreviewDialogManager.RegisterPreviewDialog(TdxPSPreviewDialogStyleInfoClass) Method

Registers a specified Print Preview dialog style within the ExpressPrinting System.

Declaration

procedure RegisterPreviewDialog(APreviewDialogStyleInfo: TdxPSPreviewDialogStyleInfoClass);

Parameters

Name Type
APreviewDialogStyleInfo TdxPSPreviewDialogStyleInfoClass

Remarks

To register a Print Preview dialog style, pass its class type as the APreviewDialogStyleInfo parameter to the RegisterPreviewDialog method call. This adds the specified dialog style to the Items collection. To activate this dialog style, assign its name to the CurrentPreviewDialogStyle or dxPSEngine.PreviewDialogStyle property.

To unregister a Print Preview dialog style, call the UnregisterPreviewDialog method.

See Also