Table of Contents

Class FileTypeLoader

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

The base class for IFileTypeLoaders. These are created by a PaintDotNet.FileTypes.FileTypeLoader.FileType that supports loading, and are returned from their OnCreateLoader() implementation.

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

Constructors

FileTypeLoader(IFileType)

The base constructor for the FileTypeLoader.

Properties

Info
Services

Provides access to the services provided by the host application. This is the same services object that the PaintDotNet.FileTypes.FileTypeLoader.FileType has access to.

Methods

Dispose(bool)
Load(Stream)

Loads an image from the specified input stream and returns it as an IFileTypeDocument.

OnLoad(IFileTypeLoadContext)

Implemented by the derived class to perform the actual loading operation.