Solved

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

Posted on 2011-09-28
6
1,426 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
ID: 36937661
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
ID: 36986067
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
ID: 37013503
No forthcoming solutions form the expert world.
Changed idea of using PDF files to a different format.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 14

Expert Comment

by:Matti
ID: 36986089
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
ID: 37154239
Matti

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

Expert Comment

by:Matti
ID: 37154412
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

*Adobe Acrobat 9 was used for this article. Particular steps may vary depending on software versions. 1. Create a framework of your form in Word, leaving space where you’d ultimately like the Adobe fields to appear.  (Note: I use the blank lines …
PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

860 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