Producer and Creator values do not get written out

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

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

Post Reply
rmcmanamy
User
Posts: 46
Joined: Thu Jun 23, 2005 1:01 pm

Producer and Creator values do not get written out

Post by rmcmanamy »

If I change the Producer or Creator values and check them they do return the values that I set. Even if I set them just prior to the Save or SaveAs call. But if I do a Save or SaveAs the producer is overwitten with PDF-XCange Viewer and the Creator is still the original values.

I also noticed that if I do set it and open the properties dialog box that the values also default back to the original creator and the PDF-XChange for the viewer.

For your default it would be nice if it was PDF-XChange ViewerX to distinguish if it was modified in the ActiveX control or in the end user version.

But we really need to track our software and version number also so it would be nice if the developer sets the producer that that value is not overwritten. Or at the very least to have it so it's the General.ApplicationTitle - PDF-XChange ViewerX.

Thanks,
Rodney
Rodney McManamy
CADzation
AutoCAD to PDF and DWF Solutions
rmcmanamy@cadzation.com
http://www.cadzation.com
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Producer and Creator values do not get written out

Post by Vasyl-Tracker Dev Team »

Hi, Rodney.

In new build you will be able to setup custom producer info by:

Code: Select all

...
SetDocumentProperty(docId, "Producer", "Custom App. [<version>], any other info..", 0);
...
SetProperty("Documents.AllowSaveCustomProducer", 1, 0); // by default, it is not allowed
SaveDocument(docId);
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Producer and Creator values do not get written out

Post by Vasyl-Tracker Dev Team »

And in new build you will be able to change 'Creator' value directly by:

Code: Select all

SetDocumentProperty(docId, "Creator", "My App.", 0);
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
rmcmanamy
User
Posts: 46
Joined: Thu Jun 23, 2005 1:01 pm

Re: Producer and Creator values do not get written out

Post by rmcmanamy »

Awesome. You guys are the best!
Rodney McManamy
CADzation
AutoCAD to PDF and DWF Solutions
rmcmanamy@cadzation.com
http://www.cadzation.com
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom
Contact:

Re: Producer and Creator values do not get written out

Post by John - Tracker Supp »

You smoothie Rodney ;)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
Post Reply