[need Help] Dont know how to use SetProperty

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

abc123abc123
User
Posts: 35
Joined: Mon Oct 17, 2011 2:36 pm

[need Help] Dont know how to use SetProperty

Post by abc123abc123 »

Hi im new here,

i tried to find out how I can use the SetProperty Method.
I tried evrything I can Imagine.
Can you tell me how can for example zoom into/out of my Document?
Or how I can get to the next page.

Thank you for help.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: [need Help] Dont know how to use SetProperty

Post by Stefan - PDF-XChange »

Hello,

Please have a look at section 2.2.2.12 PageDisplay in the Viewer AX manual.

Then also make sure to check
2.2.3.39 Pages Magnifications
and for going to a specific page in your document you can execute the GoToPage command (ID 32889).
(Please check 2.2.1.11 ExecuteCommand on how to execute any UI command).

Best,
Stefan
abc123abc123
User
Posts: 35
Joined: Mon Oct 17, 2011 2:36 pm

Re: [need Help] Dont know how to use SetProperty

Post by abc123abc123 »

Thank you for this fast answer.

I alredy looked in the manual. I dont come along with this. I dont know how I can execute this Commands.

I forgot to say that I want to do this in C#.

It would be great if i could get some code snippets.

I have some buttons which should do that.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: [need Help] Dont know how to use SetProperty

Post by Stefan - PDF-XChange »

Hello abc123abc123,

Then please take a look at the sample applications that came along with the Viewer SDK - there are plenty that should show you how to use pretty much any of the functions I have mentioned, and all you need to do is fine tune them for your specific application needs.

Best,
Stefan
abc123abc123
User
Posts: 35
Joined: Mon Oct 17, 2011 2:36 pm

Re: [need Help] Dont know how to use SetProperty

Post by abc123abc123 »

The activeX examples are without code.
There are only .exe files.


I would be nice if I could get only one example how I have to use this commands in C#
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: [need Help] Dont know how to use SetProperty

Post by Stefan - PDF-XChange »

Hello abc123,

Maybe you have opted out of installing the samples. Anyway - attached is an archive with all the C# examples available with build 199 of the Viewer AX SDK.

Best,
Stefan
You do not have the required permissions to view the files attached to this post.