Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, April 11, 2006 10:43:27 PM(UTC)
Alexander Lauton

Groups: Registered
Posts: 1


Hello,

how can I set the paperorientation of a tiff image before sending it to a printer?  I have a multipage tiff in the viewer control and every page of the image can have a different paperorientation (portrait or landscape). When I start printing, I must change the paperorientation for every page but I can't. The print method uses whatever the printer's default orientation is.

We are using Leadtools 11.5

Any help would be greatly appreciated. Thanks in advance.

 

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, April 16, 2006 12:06:50 AM(UTC)

Ali  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

This is controlled by your development environment. For example, if you are using VB6, here's how to change the orientation between pages:

Printer.Orientation = vbPRORPortrait
Printer.Print "Portrait"

Printer.NewPage
Printer.Orientation = vbPRORLandscape
Printer.Print "Landscape"

Printer.NewPage
Printer.Orientation = vbPRORPortrait
Printer.Print "Portrait"

Printer.EndDoc


Of course you could use our Render method instead of Printer.Print.
To know the orientation the image page itself inside the LEAD control, you can check the ratio of the BitmapWidth to BitmapHeight properties.

Thanks,
Ali Abo Al-Rob
LEADTOOLS Technical Support



 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.054 seconds.