Page 1 of 1

Line width

Posted: Thu Apr 09, 2015 2:11 pm
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

Re: Line width

Posted: Thu Apr 09, 2015 4:45 pm
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

Re: Line width

Posted: Fri Apr 10, 2015 9:03 am
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

Re: Line width

Posted: Fri Apr 10, 2015 12:09 pm
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