Interface IFileTypeDocumentFactory1
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
The base interface for IFileTypeDocumentFactory. This interface exists for versioning purposes and should generally not be referenced directly.
public interface IFileTypeDocumentFactory1
- Extension Methods
Properties
- NativePixelFormats
Gets the list of PixelFormats supported natively by Paint.NET. A document created in one of these pixel formats will not need to be converted after being returned from
Load. This improves performance, reduces temporary memory usage, and ensures preservation of exact color values.
- SupportedPixelFormats
Gets the list of PixelFormats that can be used when creating a document with CreateDocument(SizeInt32, in PixelFormat).
Methods
- CreateDocument(SizeInt32, in PixelFormat)
Creates a document of the given size and pixel format.
- CreateDocumentMetadata()
Creates an empty, mutable metadata container for use with an IFileTypeDocument.
- CreateLayerMetadata()
Creates an empty, mutable metadata container for use with an IFileTypeLayer.
- CreateMetadataSection(FileTypeMetadataSectionKind)
Creates an empty, mutable metadata section of the given kind.
- CreatePropertyBag()
Creates an empty, mutable property bag.