PDA

View Full Version : print content of ImagingControl



trotek
January 7, 2008, 14:46:56
Hi there

I'm looking for an easy way to print out
the content of the Imaging Control directly
from an Visual C# 2005 application ...

Thanks for any ideas.

Bye
Walter

Stefan Geissler
January 7, 2008, 15:16:49
Walter,

After snapping an image with MemorySnapImage you access it using ICImagingControl.ImageActiveBuffer. This returns an ImageBuffer object that has a .NET Bitmap property. Using this bitmap you only need to implement the printing code.

Related links:
ICImagingControl.MemorySnapImage
http://www.imagingcontrol.com/support/documentation/dotnet/meth_descICImagingControl_MemorySnapImage.htm

ICImagingControl.ImageActiveBuffer
http://www.imagingcontrol.com/support/documentation/dotnet/prop_descICImagingControl_ImageActiveBuffer.htm

ImageBuffer.Bitmap
http://www.imagingcontrol.com/support/documentation/dotnet/prop_descImageBuffer_Bitmap.htm

trotek
January 14, 2008, 21:26:41
Hi Stefan

Thanks for the information where to start with
printing...

Implementing the printing code took me some
hours googling - I will supply the code within
the next days ...

Servus
Walter

Stefan Geissler
January 15, 2008, 08:59:54
Hi Walter


Implementing the printing code took me some
hours googling - I will supply the code within
the next days ...

Yes, printing is sometimes hard. Thank you for the offer!