Skip to main content

TdxPSPreviewDialogStyleInfo.GetUnitName Method

Returns the name of the unit, in which the current Print Preview dialog style is declared.

Declaration

class function GetUnitName: string; virtual;

Returns

Type
string

Remarks

When implementing a custom Print Preview dialog style, override this function in a TdxPSPreviewDialogStyleInfo descendant, to return the unit name that corresponds to this style.

Refer to the How to Implement and Register Custom Print Preview Dialogs topic, to learn how to override the GetUnitName function.

See Also