Skip to main content

TdxPSPreviewDialogManager.FindPreviewDialogStyleInfoByName(string,TdxPSPreviewDialogStyleInfoClass) Method

Searches for a Print Preview dialog style, which has a specified name.

Declaration

function FindPreviewDialogStyleInfoByName(const AName: string; out AInfoClass: TdxPSPreviewDialogStyleInfoClass): Boolean;

Parameters

Name Type
AName string
AInfoClass TdxPSPreviewDialogStyleInfoClass

Returns

Type
Boolean

Remarks

This function returns False if the dialog style, whose name is passed as the AName parameter, is not found within the Items collection. Otherwise, the function returns True and returns the class type of the located dialog style via the AInfoClass parameter.

See Also