Click or drag to resize
Accord.NET (logo)

ImageBoxShow Method (String, UnmanagedImage, PictureBoxSizeMode, Int32, Int32, Color)

Displays an image on the screen.

Namespace:  Accord.Controls
Assembly:  Accord.Controls.Imaging (in Accord.Controls.Imaging.dll) Version: 3.7.0
Syntax
public static ImageBox Show(
	string title,
	UnmanagedImage image,
	PictureBoxSizeMode sizeMode,
	int width,
	int height,
	Color backColor
)
Request Example View Source

Parameters

title
Type: SystemString
The text to display in the title bar of the image box.
image
Type: Accord.ImagingUnmanagedImage
The image to show.
sizeMode
Type: System.Windows.FormsPictureBoxSizeMode
How to display the image inside the image box.
width
Type: SystemInt32
The width of the image box.
height
Type: SystemInt32
The height of the image box.
backColor
Type: System.DrawingColor
The background color to use in the window. Default is Black.

Return Value

Type: ImageBox
See Also