|
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.8.0
Syntax public static ImageBox Show(
string title,
UnmanagedImage image,
PictureBoxSizeMode sizeMode,
int width,
int height,
Color backColor
)
Public Shared Function Show (
title As String,
image As UnmanagedImage,
sizeMode As PictureBoxSizeMode,
width As Integer,
height As Integer,
backColor As Color
) As ImageBox
Request Example
View SourceParameters
- 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:
ImageBoxSee Also