IPXC_Pages::DeletePages Method

A forum for questions or concerns related to the PDF-XChange Core API SDK

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
cms
User
Posts: 3
Joined: Tue Aug 30, 2016 10:54 am

IPXC_Pages::DeletePages Method

Post by cms »

Hi,

I want to delete pages from my pdf (either first page, last page or a range).
The IPXC_Pages::DeletePages Method though takes in a "IBitSet" pointer which contains the indexes of pages to be deleted.

The ibitset datatype/use is very confusing to me. How do you use it. How do specify the pages to delete in it?
I've searched all samples, and nowhere is a sample of this being done.

Can somebody please give me an example how to populate that parameter.

Thanks
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: IPXC_Pages::DeletePages Method

Post by Sasha - Tracker Dev Team »

Hello cms,

I've just searched the Core API forums - there are multiple examples on how to use IBitset. Also, there are a few samples on how to do that on the sdkhelp wiki:
https://sdkhelp.pdf-xchange.com/vie ... eWatermark

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
cms
User
Posts: 3
Joined: Tue Aug 30, 2016 10:54 am

Re: IPXC_Pages::DeletePages Method

Post by cms »

Great, thanks, i'll have a look at the watermarks example.

Strange, but if I search for ibitset no result is found in the forums. Not sure if I'm searching in the wrong place somehow, although i do not see any other place to search ?!
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: IPXC_Pages::DeletePages Method

Post by Sasha - Tracker Dev Team »

Well I've searched the Core API forums for IBitset - worked for me. Anyways - do try the sample I gave :wink:
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply