Personalized Bar

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

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

Rad1
User
Posts: 108
Joined: Wed May 13, 2009 2:21 pm

Personalized Bar

Post by Rad1 »

Hi everyone,

How can I create a Personalized Bar from basic bars that contain :

Save as
Print
mail
display pages
display thumbnails

Thanks for help.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Personalized Bar

Post by Corwin - Tracker Sup »

Here's what you can do:
1. Make the necessary toolbar by using the PDF-XChange Viewer (Right click on toolbar -> "Customize...").
2. Export the settings to a file by using "Edit->Export All Settings to Data file..." or by using "SaveSettings" ActiveX function.
3. Load settings from the file by code with the "LoadSettings" function.
Rad1
User
Posts: 108
Joined: Wed May 13, 2009 2:21 pm

Re: Personalized Bar

Post by Rad1 »

Corwin wrote:Here's what you can do:
1. Make the necessary toolbar by using the PDF-XChange Viewer (Right click on toolbar -> "Customize...").
2. Export the settings to a file by using "Edit->Export All Settings to Data file..." or by using "SaveSettings" ActiveX function.
3. Load settings from the file by code with the "LoadSettings" function.

Hi Corwin,

I tried to do that, but I think that I'm not using the correct path. My code is :

Code: Select all

PDFView.LoadSettings("./Set.sys")
Whene I use the following code, it work :

Code: Select all

PDFView.LoadSettings("C:/Set.sys")

I can't use a relative path ??
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Personalized Bar

Post by Corwin - Tracker Sup »

I can't use a relative path ??
No, you cannot pass relative paths to Viewer ActiveX functions.
Rad1
User
Posts: 108
Joined: Wed May 13, 2009 2:21 pm

Re: Personalized Bar

Post by Rad1 »

Hello,

There is no alternative to customize bars using code?

Thanks for help.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Personalized Bar

Post by Corwin - Tracker Sup »

No, there is no such functionality to do this.