TPDFlibViewerFitPage

Kiểu dữ liệu, tương tác trình xem, hành động

Mô tả

Action thu toàn bộ trang vừa khít khung nhìnHàm dựng đặt sẵn

Caption thành Fit Page và Hint thành Fit whole page; khi chạy sẽ gọi SetZoomMode(zmFitPage) trên bộ xem được gán

Checked phản ánh việc ZoomMode của bộ xem hiện có phải là zmFitPage hay không

Khai báo

TPDFlibViewerFitPage = class(TPDFlibViewerAction) protected function DoUpdate: Boolean; override; procedure DoExecute; override; public constructor Create(AOwner: TComponent); override; end;

Xem thêm

TPDFlibViewerAction, SetZoomMode, ZoomMode, TPDFlibViewerZoomMode, TPDFlibViewerFitWidth, TPDFlibViewer