NewDocumentFromRTF and CPCS PDF Reports and transparency

PDF-XChange Viewer SDK
Simple DLL and ActiveX

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

Post Reply
fiscal
User
Posts: 138
Joined: Fri Aug 06, 2004 12:09 am
Contact:

NewDocumentFromRTF and CPCS PDF Reports and transparency

Post by fiscal » Tue Dec 20, 2011 2:38 am

Hi All,

I previously posted this a long time ago but just wanted to update the issue and see if it has reached development for version 3.

To Refresh - RTF files - I create an RTF file from the Clarion RTF control, I then create a new PDF file using the NewDocumentFromRTF method. I then use the InsertPages method to add the content of this new PDF to an existing PDF file. When I view the consolidated PDF file the background is transparent.

New Issue - CPCS PDF files - I create a PDF file from a CPCS report procedure, and then use the InsertPages method to add this page(s) to an existing PDF file. When I view the consolidated PDF file the background for this page is transparent.

Strangely, if I view the file with the standard Tracker Viewer (not within my application) it appears all OK. It is just the backgrounds in the application based activex viewer that sees it as transparent.

Of course this is a bit of a show stopper, so I wanted to make sure that it was already with the development team and will be in version 3, whenever that is coming<g>

Thanks

Tony

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13428
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: NewDocumentFromRTF and CPCS PDF Reports and transparency

Post by Tracker Supp-Stefan » Tue Dec 20, 2011 10:46 am

Hello Tony,

I moved the topic in the Viewer SDK for Clarion section.
As for the actual problem - it seems like your AX is using different settings than the stand alone Viewer.
Please try to export the settings from your stand alone Viewer to a data file - and then load them in the AX - and check if the transparency will still remain.

In the Viewer this setting is in Edit -> Preferences -> Page Display -> "Display Transparency Grid"

If the problem originates from elsewhere - do let us know and I will ask Craig to check for some clarion specific issues.

Best,
Stefan

fiscal
User
Posts: 138
Joined: Fri Aug 06, 2004 12:09 am
Contact:

Re: NewDocumentFromRTF and CPCS PDF Reports and transparency

Post by fiscal » Tue Dec 20, 2011 2:03 pm

Thanks Stephan,

One show stopper stopped.

Now only need to be patient and wait for version 3 for one final issue to be fixed...

See ya

Tony

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13428
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: NewDocumentFromRTF and CPCS PDF Reports and transparency

Post by Tracker Supp-Stefan » Tue Dec 20, 2011 3:15 pm

Glad to hear that Tony!

Happy Holidays!
Stefan

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: NewDocumentFromRTF and CPCS PDF Reports and transparency

Post by Tracker - Clarion Support » Tue Dec 20, 2011 3:50 pm

Hi Tony!

Glad to see Stefan had the solution for you. :)
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

fiscal
User
Posts: 138
Joined: Fri Aug 06, 2004 12:09 am
Contact:

Re: NewDocumentFromRTF and CPCS PDF Reports and transparency

Post by fiscal » Tue Dec 20, 2011 10:24 pm

Hi Craig,

Just don't know how that setting got changed in the first place - weird.

Have a great Christmas (You too Stefan).....

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: NewDocumentFromRTF and CPCS PDF Reports and transparency

Post by Tracker - Clarion Support » Tue Dec 20, 2011 10:49 pm

You too, Tony! :D
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

Post Reply