TdxPDFCustomViewer Class
The base class for the PDF Viewer control.
Declaration
TdxPDFCustomViewer = class(
TdxPDFDocumentCustomViewer,
IdxSkinSupport,
IcxLockedStatePaint
)
Remarks
The PDF Viewer control is designed to view, manage, sign, and encrypt Portable Document Format (PDF) files in your application.
Main API Members
The list below outlines key members of the TdxPDFCustomViewer
class that allow you to work with PDF documents in your application.
- Identify if the PDF Viewer control is empty and load a document (IsDocumentLoaded, LoadFromFile, and LoadFromStream).
- Customize global behavior and functionality settings (OptionsBehavior).
- Configure a Locked View image the PDF Viewer displays while loading a document (OptionsLockedStateImage).
- Custom draw the Locked View image (OnPrepareLockedStateImage).
- Specify how many times a user can attempt to enter a user or owner password to load an encrypted document (PasswordAttemptsLimit).
- Display the Navigation Pane and customize its settings (OptionsNavigationPane).
- Customize document display and selection settings (OptionsView and OptionsSelection).
- Manage and customize the Find panel (OptionsFindPanel, ShowFindPanel, HideFindPanel, and IsFindPanelVisible).
- Search text and track the current search position (TextSearch and OnSearchProgress).
- Specify a password for an encrypted PDF document in code (OnGetPassword).
- Access the internal PDF document model (Document).
- Manage content selection and respond to selection changes (Selection and OnSelectionChanged).
- Respond to a click on a hyperlink in a document (OnHyperlinkClick).
- Identify and limit the number of visible pages in a loaded document (PageCount).
- Navigate between visible document pages (CurrentPageIndex, GoToFirstPage, GoToLastPage, GoToNextPage, and GoToPrevPage).
- Customize interactive form settings (OptionsForm).
- Manage content highlights (Highlights).
- Rotate the document view (RotationAngle, RotateClockwise, and RotateCounterclockwise).
- Switch between Hand and Content Selection tools (HandTool).
- Obtain HitTest information (HitTest).
- Avoid excessive redraw operations during batch document view and setting changes (BeginUpdate, CancelUpdate, and EndUpdate).
- Zoom content in or out and customize zoom settings (ZoomIn, ZoomOut, and OptionsZoom).
- Manage document view states (CanGoToNextView, CanGoToPrevView, GoToNextView, GoToPrevView, and ClearViewStateHistory).
- Unload a document (Clear).
Terminal TdxPDFCustomViewer Class Descendant
Do not use the TdxPDFCustomViewer
class directly. Use the TdxPDFViewer control instead.
Inheritance
See Also