Reorder Pages

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

ashley3289
User
Posts: 37
Joined: Wed Feb 10, 2010 10:58 pm

Reorder Pages

Post by ashley3289 »

In using the activeX control how do I prevent the user from reordering / moving pages around. For instance in looking at the Full Demo if the thumbnail pane is open the user can drag and drop the pages and reorder them. How do I prevent this?

Thanks,
Ashley
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Reorder Pages

Post by Vasyl - PDF-XChange »

Hi, Ashley.

In the new build you will be able to use the new boolean properties for this:

Code: Select all

ax.SetDocumentProperty(docID, "DenyMovePages", "true", 0);
ax.SetDocumentProperty(docID, "DenyInsertPages", "true", 0);
ax.SetDocumentProperty(docID, "DenyDeletePages", "true", 0);
Cheers.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.