ImageBuffer.Bitmap Property

Returns a bitmap object representing the image data of this ImageBuffer.
Syntax:
[VB.NET]
Public Bitmap As System.Drawing.Bitmap
[C#]
public System.Drawing.Bitmap Bitmap;
Limitations:

Read only.

Sample:

The following example shows how to retrieve a Bitmap object and save it as a PNG file.

[VB.NET]
Dim bmp As Bitmap bmp = IcImagingControl1.ImageActiveBuffer.Bitmap   bmp.Save("C:\membuf.png", System.Drawing.Imaging.ImageFormat.Png)
[C#]
Bitmap bmp = ICImagingControl1.ImageActiveBuffer.Bitmap;   bmp.Save("C:\membuf.png"System.Drawing.Imaging.ImageFormat.Png);
See also: ImageBuffer

<< ImageAvailableEventArgs.ImageBuffer

This site is part of The Imaging Source Network. Other sites include Company Portal, Image Processing, Astronomy Cameras, Astronomy Cameras Blog, Blog caméras d'astronomie, Astronomy Cameras Competition, TX Text Control, LiveDocx, phpLiveDocx and Forums.