This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, July 27, 2005 6:28:48 AM(UTC)
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
#2
Posted
:
Monday, August 1, 2005 12:14:29 PM(UTC)
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 LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
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.