Converts Data into a nice usable bitmap

Namespace:  CoreDevices
Assembly:  Micromanager_net (in Micromanager_net.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static Bitmap CreateGrayScaleBitmap(
	IntPtr Data,
	long NumBytes,
	int BitsPerPixel,
	int Width,
	int Height,
	long ContrastMinValue,
	long ContrastMaxValue,
	AllowedPixelFormats OutPutFormat,
	Color FalseColor
)
Visual Basic (Declaration)
Public Shared Function CreateGrayScaleBitmap ( _
	Data As IntPtr, _
	NumBytes As Long, _
	BitsPerPixel As Integer, _
	Width As Integer, _
	Height As Integer, _
	ContrastMinValue As Long, _
	ContrastMaxValue As Long, _
	OutPutFormat As AllowedPixelFormats, _
	FalseColor As Color _
) As Bitmap
Visual C++
public:
static Bitmap^ CreateGrayScaleBitmap(
	IntPtr Data, 
	long long NumBytes, 
	int BitsPerPixel, 
	int Width, 
	int Height, 
	long long ContrastMinValue, 
	long long ContrastMaxValue, 
	AllowedPixelFormats OutPutFormat, 
	Color FalseColor
)

Parameters

Data
Type: System..::.IntPtr

[Missing <param name="Data"/> documentation for "M:CoreDevices.CoreImage.CreateGrayScaleBitmap(System.IntPtr,System.Int64,System.Int32,System.Int32,System.Int32,System.Int64,System.Int64,CoreDevices.AllowedPixelFormats,System.Drawing.Color)"]

NumBytes
Type: System..::.Int64

[Missing <param name="NumBytes"/> documentation for "M:CoreDevices.CoreImage.CreateGrayScaleBitmap(System.IntPtr,System.Int64,System.Int32,System.Int32,System.Int32,System.Int64,System.Int64,CoreDevices.AllowedPixelFormats,System.Drawing.Color)"]

BitsPerPixel
Type: System..::.Int32

[Missing <param name="BitsPerPixel"/> documentation for "M:CoreDevices.CoreImage.CreateGrayScaleBitmap(System.IntPtr,System.Int64,System.Int32,System.Int32,System.Int32,System.Int64,System.Int64,CoreDevices.AllowedPixelFormats,System.Drawing.Color)"]

Width
Type: System..::.Int32

[Missing <param name="Width"/> documentation for "M:CoreDevices.CoreImage.CreateGrayScaleBitmap(System.IntPtr,System.Int64,System.Int32,System.Int32,System.Int32,System.Int64,System.Int64,CoreDevices.AllowedPixelFormats,System.Drawing.Color)"]

Height
Type: System..::.Int32

[Missing <param name="Height"/> documentation for "M:CoreDevices.CoreImage.CreateGrayScaleBitmap(System.IntPtr,System.Int64,System.Int32,System.Int32,System.Int32,System.Int64,System.Int64,CoreDevices.AllowedPixelFormats,System.Drawing.Color)"]

ContrastMinValue
Type: System..::.Int64

[Missing <param name="ContrastMinValue"/> documentation for "M:CoreDevices.CoreImage.CreateGrayScaleBitmap(System.IntPtr,System.Int64,System.Int32,System.Int32,System.Int32,System.Int64,System.Int64,CoreDevices.AllowedPixelFormats,System.Drawing.Color)"]

ContrastMaxValue
Type: System..::.Int64

[Missing <param name="ContrastMaxValue"/> documentation for "M:CoreDevices.CoreImage.CreateGrayScaleBitmap(System.IntPtr,System.Int64,System.Int32,System.Int32,System.Int32,System.Int64,System.Int64,CoreDevices.AllowedPixelFormats,System.Drawing.Color)"]

OutPutFormat
Type: CoreDevices..::.AllowedPixelFormats

[Missing <param name="OutPutFormat"/> documentation for "M:CoreDevices.CoreImage.CreateGrayScaleBitmap(System.IntPtr,System.Int64,System.Int32,System.Int32,System.Int32,System.Int64,System.Int64,CoreDevices.AllowedPixelFormats,System.Drawing.Color)"]

FalseColor
Type: System.Drawing..::.Color

[Missing <param name="FalseColor"/> documentation for "M:CoreDevices.CoreImage.CreateGrayScaleBitmap(System.IntPtr,System.Int64,System.Int32,System.Int32,System.Int32,System.Int64,System.Int64,CoreDevices.AllowedPixelFormats,System.Drawing.Color)"]

Return Value

[Missing <returns> documentation for "M:CoreDevices.CoreImage.CreateGrayScaleBitmap(System.IntPtr,System.Int64,System.Int32,System.Int32,System.Int32,System.Int64,System.Int64,CoreDevices.AllowedPixelFormats,System.Drawing.Color)"]

See Also