C# Class Accord.Controls.ImageBox

Displays images in a similar way to System.Windows.Forms.MessageBox.
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
Show ( Image image ) : DialogResult

Displays an image on the screen.

Show ( Image image, PictureBoxSizeMode sizeMode ) : DialogResult

Displays an image on the screen.

Show ( Image image, PictureBoxSizeMode sizeMode, Color backColor ) : DialogResult

Displays an image on the screen.

Show ( Image image, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult

Displays an image on the screen.

Show ( Image image, int width, int height ) : DialogResult

Displays an image on the screen.

Show ( String title, double image, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult

Displays an image on the screen.

Show ( UnmanagedImage image ) : DialogResult

Displays an image on the screen.

Show ( UnmanagedImage image, PictureBoxSizeMode sizeMode ) : DialogResult

Displays an image on the screen.

Show ( double image ) : DialogResult

Displays an image on the screen.

Show ( double image, PictureBoxSizeMode sizeMode ) : DialogResult

Displays an image on the screen.

Show ( double image, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult

Displays an image on the screen.

Show ( double image, int imageWidth, int imageHeight ) : DialogResult

Displays an image on the screen.

Show ( double image, int imageWidth, int imageHeight, PictureBoxSizeMode sizeMode ) : DialogResult

Displays an image on the screen.

Show ( double image, int imageWidth, int imageHeight, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult

Displays an image on the screen.

Show ( string title, Image image ) : DialogResult

Displays an image on the screen.

Show ( string title, Image image, PictureBoxSizeMode sizeMode ) : DialogResult

Displays an image on the screen.

Show ( string title, Image image, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult

Displays an image on the screen.

Show ( string title, Image image, PictureBoxSizeMode sizeMode, int width, int height, Color backColor ) : DialogResult

Displays an image on the screen.

Show ( string title, UnmanagedImage image, PictureBoxSizeMode sizeMode ) : DialogResult

Displays an image on the screen.

Show ( string title, UnmanagedImage image, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult

Displays an image on the screen.

Show ( string title, UnmanagedImage image, PictureBoxSizeMode sizeMode, int width, int height, Color backColor ) : DialogResult

Displays an image on the screen.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

ImageBox ( ) : System.Drawing

Initializes a new instance of the ImageBox class.

OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void

Raises the E:System.Windows.Forms.Control.PreviewKeyDown event.

Private Methods

Méthode Description
ImageBox_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void
centeredToolStripMenuItem_SelectedIndexChanged ( object sender, EventArgs e ) : void
saveFileDialog1_FileOk ( object sender, System e ) : void
zoomToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

ImageBox() protected méthode

Initializes a new instance of the ImageBox class.
protected ImageBox ( ) : System.Drawing
Résultat System.Drawing

OnPreviewKeyDown() protected méthode

Raises the E:System.Windows.Forms.Control.PreviewKeyDown event.
protected OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void
e System.Windows.Forms.PreviewKeyDownEventArgs
Résultat void

Show() public static méthode

Displays an image on the screen.
public static Show ( Image image ) : DialogResult
image System.Drawing.Image The image to show.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( Image image, PictureBoxSizeMode sizeMode ) : DialogResult
image System.Drawing.Image The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( Image image, PictureBoxSizeMode sizeMode, Color backColor ) : DialogResult
image System.Drawing.Image The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
backColor Color The background color to use in the window. /// Default is .
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( Image image, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult
image System.Drawing.Image The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
width int The width of the image box.
height int The height of the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( Image image, int width, int height ) : DialogResult
image System.Drawing.Image The image to show.
width int The width of the image box.
height int The height of the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( String title, double image, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult
title String The text to display in the title bar of the image box.
image double The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
width int The width of the image box.
height int The height of the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( UnmanagedImage image ) : DialogResult
image Accord.Imaging.UnmanagedImage The image to show.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( UnmanagedImage image, PictureBoxSizeMode sizeMode ) : DialogResult
image Accord.Imaging.UnmanagedImage The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( double image ) : DialogResult
image double The image to show.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( double image, PictureBoxSizeMode sizeMode ) : DialogResult
image double The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( double image, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult
image double The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
width int The width of the image box.
height int The height of the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( double image, int imageWidth, int imageHeight ) : DialogResult
image double The image to show.
imageWidth int The width of the image.
imageHeight int The height of the image.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( double image, int imageWidth, int imageHeight, PictureBoxSizeMode sizeMode ) : DialogResult
image double The image to show.
imageWidth int The width of the image.
imageHeight int The height of the image.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( double image, int imageWidth, int imageHeight, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult
image double The image to show.
imageWidth int The width of the image.
imageHeight int The height of the image.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
width int The width of the image box.
height int The height of the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( string title, Image image ) : DialogResult
title string The text to display in the title bar of the image box.
image System.Drawing.Image The image to show.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( string title, Image image, PictureBoxSizeMode sizeMode ) : DialogResult
title string The text to display in the title bar of the image box.
image System.Drawing.Image The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( string title, Image image, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult
title string The text to display in the title bar of the image box.
image System.Drawing.Image The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
width int The width of the image box.
height int The height of the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( string title, Image image, PictureBoxSizeMode sizeMode, int width, int height, Color backColor ) : DialogResult
title string The text to display in the title bar of the image box.
image System.Drawing.Image The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
width int The width of the image box.
height int The height of the image box.
backColor Color The background color to use in the window. /// Default is .
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( string title, UnmanagedImage image, PictureBoxSizeMode sizeMode ) : DialogResult
title string The text to display in the title bar of the image box.
image Accord.Imaging.UnmanagedImage The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( string title, UnmanagedImage image, PictureBoxSizeMode sizeMode, int width, int height ) : DialogResult
title string The text to display in the title bar of the image box.
image Accord.Imaging.UnmanagedImage The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
width int The width of the image box.
height int The height of the image box.
Résultat DialogResult

Show() public static méthode

Displays an image on the screen.
public static Show ( string title, UnmanagedImage image, PictureBoxSizeMode sizeMode, int width, int height, Color backColor ) : DialogResult
title string The text to display in the title bar of the image box.
image Accord.Imaging.UnmanagedImage The image to show.
sizeMode PictureBoxSizeMode How to display the image inside the image box.
width int The width of the image box.
height int The height of the image box.
backColor Color The background color to use in the window. /// Default is .
Résultat DialogResult