Line width

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics or PDF-XChange Viewer SDK if appropriate.

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

Post Reply
stephenLag
User
Posts: 2
Joined: Thu Apr 09, 2015 1:46 pm

Line width

Post by stephenLag »

Hey,

We are searching for a good pdf sdk to implement in our application. So before buying we are trying the PDF-tools SDK.

In the examples folder we found a folder called "pdfvExamples" This example is just what we need, its fast,it has the buttons zoom, next-previous page.

But we are looking for 1 extra option to change the line width. In the pdfviewer it is done using the shortcut "CTRL+5"(https://www.pdf-xchange.com/knowled ... the-Viewer)

Is there a way to call this command from code so we can add it to the "PDFV example".

if this isn't possible we probably can't use your SDK, because this line width option and adding a watermark to a pdf are 2 options that are used daily.

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

Re: Line width

Post by Tracker Supp-Stefan »

Hello stephenLag,

Welcome to our forums.
The tool you are looking at is actually using our Viewer AX SDK.
You can execute end user interface commands via code:
https://help.pdf-xchange.com/DEV/de ... utecommand

And the ID of the command you need (Line Weights) is: 36483:
https://help.pdf-xchange.com/DEV/de ... mmand_list

Regards,
Stefan
stephenLag
User
Posts: 2
Joined: Thu Apr 09, 2015 1:46 pm

Re: Line width

Post by stephenLag »

Ok, you recommend to use the Active X control.

So when using the active X controls is it possible to add a watermark, merge 2 pdfs or add a page to a pdf without changing the actual pdf ?

If this is possible are there some example showing the combination of the active x control with another Sdk doing those advanced actions.

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

Re: Line width

Post by Tracker Supp-Stefan »

Hello Stephen,

You asked how to toggle the line width in the sample you saw in pdfvExamples - and I answered accordingly.
This is indeed an AX version of our PDF XChange Viewer.

A limited license for the Viewer AX is included with each PDF Tools SDK purchase, and that is why the Viewer sample projects are also available.

For adding watermarks, and merging PDFs it's still better if you use the Tools SDK itself - as you can then do those operations without any UI or user interaction, and for displaying the PDFs after that you can use the Viewer AX.

Regards,
Stefan
Post Reply