Class FileType
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Data.dll
Represents one type of file that PaintDotNet can load or save.
public abstract class FileType : IEquatable<FileType>
- Inheritance
-
FileType
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
Properties
- Name
Returns the friendly name of the file type, such as "Bitmap" or "JPEG".
- SupportsConfiguration
Gets a flag indicating whether or not the file type supports configuration via a SaveConfigToken and SaveConfigWidget.
Methods
- GetOpenDialogFilterText()
Returns a string that can be used for populating an OpenFileDialog's Filter property.
- GetSaveDialogFilterText()
Returns a string that can be used for populating a SaveFileDialog's Filter property.
- OnCreateDefaultSaveConfigToken()
Creates a SaveConfigToken for this FileType with the default values.
- Quantize(Surface, int, int, bool, ProgressEventHandler?)
Takes a Surface and quantizes it down to an 8-bit bitmap.