Skip to main content

TdxPDFViewerFind Class

An action object corresponding to the Find command provided by the PDF Viewer control.

Declaration

TdxPDFViewerFind = class(
    TdxPDFViewerCheckableAction
)

Remarks

This class does not introduce any new public members. Executing a TdxPDFViewerFind action object displays or hides the Find panel (depending on its current state). Invoking the Find panel allows end-users to search a specific text string within the opened PDF document and customize the available search options.

VCL PDF Viewer: A Find Panel Example

UI elements linked to a TdxPDFViewerFind action object are enabled only if the following conditions are met:

  • The PDF Viewer control currently displays a document (i.e., the control’s IsDocumentLoaded function returns True).

  • Users can change the Find panel visibility (i.e., the control’s OptionsFindPanel.DisplayMode property is set to fpdmManual).

See Also