Click or drag to resize
Accord.NET (logo)

ImageBoxShow Method (Image, PictureBoxSizeMode, Int32, Int32)

Displays an image on the screen.

Namespace:  Accord.Controls
Assembly:  Accord.Controls.Imaging (in Accord.Controls.Imaging.dll) Version: 3.6.0
Syntax
public static ImageBox Show(
	Image image,
	PictureBoxSizeMode sizeMode,
	int width,
	int height
)
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.
width
Type: SystemInt32
The width of the image box.
height
Type: SystemInt32
The height of the image box.

Return Value

Type: ImageBox
See Also