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 : Wednesday, July 27, 2005 6:28:48 AM(UTC)
storerware

Groups: Registered
Posts: 1


Using VS 2003/VB.NET, Leadtools 13 Raster Imaging Pro.

Display and manipulation of images no problem by using the Picturebox control but customer now wishes to print.  No problem in printing when using LEADRasterView controls but do not wish to use the Rasterview control since a Picturebox control is already being used.  Lots of code to re-write if everything is moved to a Rasterview.

Have searched the help files (V.13 and 14) but must have missed something.

Is there anyway to print from the PictureBox control?

Thanks in advance,

Storer

 

 

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, August 1, 2005 12:14:29 PM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 367

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

Since you already have the printing code working fine with the
LEADRasterView control, one way to solve your problem is to move the
image temporarily into this control to perform printing. The code looks like this:

Dim btmp As LEAD.Drawing.Bitmap = New LEAD.Drawing.Bitmap(PictureBox.LEADImage)
btmp.Advise(new IntPtr(axLEADRasterView1.Raster.GetInterfacePointer()))
MsgBox("Perform printing using AxLEADRasterView1")
btmp.UnAdvise(False)
btmp = nothing


Amin Dodin
LEADTOOLS Technical Support

Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
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.056 seconds.