TPDFlibViewerFileSaveAs
Kiểu dữ liệu, tương tác trình xem, hành động
Mô tả
Action ghi tài liệu đang mở vào một tệp được chọnHàm dựng đặt sẵn
Caption thành Save As... và Hint thành Save a copy of the document; khi chạy, action hiển thị TSaveDialog với bộ lọc PDF, phần mở rộng mặc định pdf và cảnh báo ghi đè, rồi lưu qua thể hiện Lib của bộ xem bằng SaveToFile
Khai báo
TPDFlibViewerFileSaveAs = class(TPDFlibViewerAction) protected procedure DoExecute; override; public constructor Create(AOwner: TComponent); override; end;Xem thêm
TPDFlibViewerAction, Lib, SaveToFile, TPDFlibViewerFileOpen, TPDFlibViewer