<< Click to Display Table of Contents >> Navigation: Tasks > Page moving |
With WPViewPDF PLUS it is able to move selected pages.
The command COMPDF_MOVEPAGES (= 600) can be used to move selected pages.
It is also possible to use interactive page moving.
All You have to do is to set property AllowMovePages to true.
The user can click right to select a page and then drag the selection to a different location.
When the mouse button is released an event will be triggered. This makes it possible to intercept the move.
procedure TWPViewPDFDemo.DoViewerMessage(Sender: TObject; var ID: Integer;
Param: Integer);
begin
case ID of
...
MSGPDF_MOVEPages:
begin
// Check ask user with InputQuery
WPViewPDF1.Command(COMPDF_MOVEPAGES, Param);
ID := 0;//............. Handled here
end;
end;
end;