Solved

How do I do page rotation using Adobe AxAcroPDF ActiveX in VB.NET 2005

Posted on 2011-09-28
6
1,381 Views
Last Modified: 2013-11-27
Hi folks,

I am able to display a PDF on a form using the Adobe Acrobat Reader ActiveX (AxAcroPDF) successfully.

Is there a way to rotate the displayed PDF by 90 degrees ?

regards
DaveH
0
Comment
Question by:dhayzen
  • 3
  • 3
6 Comments
 
LVL 14

Expert Comment

by:Matti
Comment Utility
Hi!
I'm not sure can that componet in Acrobat SDK do that, see object browser, press F2 on the project but
http://sourceforge.net/projects/itextsharp/
You can use this lib to produce a rotated temporary copy of your PDF and display it.
There is a lot of VB samples in this all download + the Sharp C source of it.

Matti
0
 
LVL 1

Accepted Solution

by:
dhayzen earned 0 total points
Comment Utility
Matti, thanks for comment but alas not a solution.  The itextsharp from what I can see relies on the presence of a fully licenced acrobat install.... rather than just the reader.

I've given up on trying to do the PDF rotation and have settled on using PNG files.
0
 
LVL 1

Author Closing Comment

by:dhayzen
Comment Utility
No forthcoming solutions form the expert world.
Changed idea of using PDF files to a different format.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 14

Expert Comment

by:Matti
Comment Utility
HI!

The Itextsharp is independent it does not need any Acrobat software.
Ofcause reader to show it or the adobe SDK.

Matti
0
 
LVL 1

Author Comment

by:dhayzen
Comment Utility
Matti

Doesn't the Adobe SDK require a licence ?
0
 
LVL 14

Expert Comment

by:Matti
Comment Utility
As I know no, of cause every US software has some sort of licence, but this is free.

I have a redistribution lisence for Acrobat, it does not cost but you need to apply.
Itextshartp is opensource.

Matti
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe INTRODUCTION This Article is a follow-up to the Article entitled How To Rename-Move a Batch of PDF Files Based o…
This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now