Hello.
I want to know if is possible to set FitPage in runtime with VB.net?
I was using adobe free pdf reader for my application, but i couldn't unload file, so i had to destroy the component and create it again everytime.
Today I steped in PDF X-Change Viewer and it's work fine for me, but i wasn't able to fit to page in runtime!
I'm using PDF X-Change Viewer Simple Activex. Could i do fit to page with it?
Thanks
Giovani Rodrigues
Set FitPage with VB.net embebed Viewer
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 1
- Joined: Tue Oct 14, 2014 5:46 pm
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Set FitPage with VB.net embebed Viewer
Hi, Giovani.
Use:
pdfControl.SetDocumentProperty(docId, "Pages.Zoom", -1, 0);
or
pdfControl.SetDocumentProperty(docId, "Pages.Zoom", "FitPage", 0);
HTH
Use:
pdfControl.SetDocumentProperty(docId, "Pages.Zoom", -1, 0);
or
pdfControl.SetDocumentProperty(docId, "Pages.Zoom", "FitPage", 0);
HTH
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.
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.