C# Class Smrf.AppLib.SaveableImageFormats

Contains information about image formats that can be saved to disk.
This class encapsulates information about image formats that can be saved to disk. All properties and methods are static.
Inheritance: Object
Mostrar archivo Open project: 2014-sed-team3/term-project Class Usage Examples

Public Properties

Property Type Description
Filter String
ImageFormats System.Drawing.Imaging.ImageFormat[]
PngFilterIndexOneBased System.Int32

Public Methods

Method Description
GetFileExtension ( ImageFormat saveableImageFormat ) : String
InitializeListControl ( ListControl listControl ) : void

Method Details

GetFileExtension() public static method

public static GetFileExtension ( ImageFormat saveableImageFormat ) : String
saveableImageFormat System.Drawing.Imaging.ImageFormat
return String

InitializeListControl() public static method

public static InitializeListControl ( ListControl listControl ) : void
listControl System.Windows.Forms.ListControl
return void

Property Details

Filter public_oe static_oe property

A filter string for the image formats that can be saved to disk, suitable for use in a common dialog.
public static String Filter
return String

ImageFormats public_oe static_oe property

An array of image formats that can be saved to disk.
public static ImageFormat[],System.Drawing.Imaging ImageFormats
return System.Drawing.Imaging.ImageFormat[]

PngFilterIndexOneBased public_oe static_oe property

One-based index of the PNG filter returned by Filter.
public static Int32,System PngFilterIndexOneBased
return System.Int32