Table of Contents

Class FileType

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

The base class for FileType plugins. To implement a FileType plugin, create a new class that derives from this class. Also make sure that in your assembly you have a class that implements IFileTypeFactory with a parameterless constructor.

public abstract class FileType : RefTrackedObject, ISerializable, IFileType, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
FileType
Implements
Derived
Inherited Members
Extension Methods

Constructors

FileType(IFileTypeHost, string, FileTypeOptions)

Properties

Info

Gets the information and metadata about this FileType plugin.

Name
Services

Methods

CreateLoader()

Creates an object for loading images of this file type.

CreateSaver()

Creates an object for saving images of this file type.

Dispose(bool)
Equals(object?)
GetHashCode()
OnCreateLoader()

Implemented by FileType plugins that support loading. This method must return an object that derives from FileTypeLoader.

OnCreateSaver()

Implemented by FileType plugins that support saving. This method must return an object that derives from FileTypeSaver.