Register

Viewer

Description

IDE registration procedure of the viewer units. When a design-time package that contains these units is installed, the IDE calls Register, which adds the viewer components and actions to its designers

Syntax

Delphi

Procedure Register;

Remarks

The procedure is declared once in PDFlibViewer and once in PDFlibViewerActions

PDFlibViewer registers TPDFlibViewer, TPDFlibOutlineViewer, TPDFlibSearchPanel, TPDFlibThumbnailBar, TPDFlibAnnotationPanel, TPDFlibLayerPanel and TPDFlibAttachmentPanel as components on the losLab PDF palette page

PDFlibViewerActions registers its twenty action classes, the descendants of TPDFlibViewerAction, in the losLab PDF action category, so the action list editor offers them by name

Applications do not call Register; the IDE calls it while the design-time package is loaded

See also

TPDFlibViewer, TPDFlibViewerAction, CreatePDFlibViewerDefaultPopupMenu, InstallPDFlibViewerDefaultPopupMenu