Click or drag to resize
Accord.NET (logo)

ImageBoxShow Method (Image, PictureBoxSizeMode, 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(
	Image image,
	PictureBoxSizeMode sizeMode,
	Color backColor
)
Request Example View Source

Parameters

image
Type: System.DrawingImage
The image to show.
sizeMode
Type: System.Windows.FormsPictureBoxSizeMode
How to display the image inside the image box.
backColor
Type: System.DrawingColor
The background color to use in the window. Default is Black.

Return Value

Type: ImageBox
See Also