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 : Monday, June 25, 2012 12:31:27 AM(UTC)
bnvelarde

Groups: Registered
Posts: 34


Hi,

I want to know if the image I input is possible. I believe the who made the software used leadtools and I want to create something like it.

anybody could help me how? Im just starting to learn how to print in vb.net 2010.

Thanks a lot
 

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 : Monday, June 25, 2012 12:33:14 AM(UTC)
bnvelarde

Groups: Registered
Posts: 34


here is the file.
bnvelarde attached the following image(s):
jpg.JPG
 
#3 Posted : Monday, June 25, 2012 6:40:25 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

Please see the tutorial "Print a Real Image Size in Inches" in our .Net documentation. You can check the tutorial online by using the following link:
http://www.leadtools.com/help/leadtools/v175/dh/to/leadtools.topics~leadtools.topics.printarealimagesizeininches.html
note: this link is valid at time of posting this reply.

Also, you should be able to set the paper size and margins by using the System.Drawing.Printing.PrintDocument class' DefaultPageSettings.PaperSize and DefaultPageSettings.Margins properties.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#4 Posted : Monday, June 25, 2012 6:44:11 PM(UTC)
bnvelarde

Groups: Registered
Posts: 34


Hi,

I tried the link you gave me, but it is not the thing I want. Referring to the image, I can set the page size, margins, landscape and portrait at the same the it views the preview. The white space in the image is the actual page size.

Is it possible to make a real time Print Preview?

thanks
 
#5 Posted : Tuesday, June 26, 2012 5:33:35 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

I am afraid that we don't have a ready print preview dialog similar to what you want.
However, you can create your own print preview dialog to control the paper size, margins, etc. And then pass the information from the dialog to the PrintDocument.DefaultPageSettings.PaperSize, PrintDocument.DefaultPageSettings.Margins, PrintDocument.DefaultPageSettings.Landscape and the other properties that you want to set.

To create such a dialog, you could draw our RasterImageViewer control on a WinForm and position it so that it represents the image to be printed.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#6 Posted : Thursday, August 30, 2012 10:36:14 PM(UTC)
bnvelarde

Groups: Registered
Posts: 34


Hello,

referring to the image above, i have an idea.

is it possible to make rasterviewer1 on top of rasterviewer2 where rasterviewer1 has whole in the middle so you can see the image in rasterviewer2?

if yes, how can i do that?

thank you
 
#7 Posted : Sunday, September 2, 2012 2:49:08 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

This appears to be a new issue. If it is, please post this issue in a new thread and include full details about what you are trying to do.

Thanks,
Maen Badwan
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-2019, Yet Another Forum.NET
This page was generated in 0.180 seconds.