Delphi Examples?

PDF-XChange Editor SDK for Developers

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

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.
jeffp
User
Posts: 926
Joined: Wed Sep 30, 2009 6:53 pm

Delphi Examples?

Post by jeffp »

Starting my switch from the old ViewerAX SDK and Pro SDK to the new Editor SDK.

I'm trying to work with the PDFXEdit_TLB.pas file wrapper that Delphi generates.

Was wondering if you have a few Delphi examples for little things like delete a page, insert a page, etc. I'll take an Delphi example code you may have.

I'm using the TPXC_Inst object as my starting point to open a file, but am having trouble figuring out how to access the lower interfaces like IAUX_Inst, etc. For example, in trying to use the IPXC_Pages.DeletePages call, the Help talks about creating the IBitSet from the IAUX_Inst.CreateBitSet procedure. Not sure how I'm supposed to work with all these interfaces in Delphi.

With a little direction, I can be on my way.

Thanks.

--Jeff
Sasha - PDF-XChange
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am

Re: Delphi Examples?

Post by Sasha - PDF-XChange »

Hello jeffp,

As I mentioned in the other topic, you should use the https://sdkhelp.pdf-xchange.com/vie ... tExtension method.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ