TPDFlibViewerFileSaveAs
Data types, viewer interaction, actions
Description
Action that writes the open document to a picked file
The constructor presets Caption to Save As... and Hint to Save a copy of the document; executing shows a TSaveDialog with a PDF filter, the default extension pdf and an overwrite prompt, then saves through the viewer's Lib instance with SaveToFile
Declaration
TPDFlibViewerFileSaveAs = class(TPDFlibViewerAction) protected procedure DoExecute; override; public constructor Create(AOwner: TComponent); override; end;See also
TPDFlibViewerAction, Lib, SaveToFile, TPDFlibViewerFileOpen, TPDFlibViewer