C# Класс Accord.Controls.ImageBox

Displays images in a similar way to System.Windows.Forms.MessageBox.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Dispose() защищенный метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

ImageBox() защищенный метод

Initializes a new instance of the ImageBox class.
protected ImageBox ( ) : System.Drawing
Результат System.Drawing

OnPreviewKeyDown() защищенный метод

Raises the E:System.Windows.Forms.Control.PreviewKeyDown event.
protected OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void
e System.Windows.Forms.PreviewKeyDownEventArgs
Результат void

Show() публичный статический метод

Displays an image on the screen.
public static Show ( Image image ) : DialogResult
image System.Drawing.Image The image to show.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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 .
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

Displays an image on the screen.
public static Show ( UnmanagedImage image ) : DialogResult
image Accord.Imaging.UnmanagedImage The image to show.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

Displays an image on the screen.
public static Show ( double image ) : DialogResult
image double The image to show.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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 .
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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.
Результат DialogResult

Show() публичный статический метод

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 .
Результат DialogResult