Click or drag to resize
Accord.NET (logo)

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

Displays an image on the screen.

Namespace:  Accord.Controls
Assembly:  Accord.Controls.Imaging (in Accord.Controls.Imaging.dll) Version: 3.8.0
Syntax
public static ImageBox Show(
	string title,
	UnmanagedImage image,
	PictureBoxSizeMode sizeMode,
	int width,
	int height
)
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.

Return Value

Type: ImageBox
See Also