Class FileTypeOptions1
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
The base class for FileTypeOptions. This base class exists for versioning purposes and should generally not be used directly.
public abstract record FileTypeOptions1 : PluginOptions, IEquatable<PluginOptions>, IFileTypeOptions1, IPluginOptions, IInternalImpl, IFileTypeInfoOptionsCommon, IFileTypeInfoOptionsCommon1, IEquatable<FileTypeOptions1>
- Inheritance
-
FileTypeOptions1
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
Properties
- IsSavingConfigurable
Indicates whether saving can be configured through the use of IFileTypeSaveOptions and IFileTypeSaveOptionsControl.
- LoadExtensions
Gets or sets the list of file extensions that the FileType can load. These should be prefixed with a dot, e.g. { ".xyz", ".ywx", ".wyx" }
- SaveExtensions
Gets or sets the list of file extensions that the FileType can save. These should be prefixed with a dot, e.g. { ".xyz", ".ywx", ".wyx" }
- SupportsCancellationExceptions
If true, then the Stream and/or ProgressEventHandler may throw an OperationCanceledException so as to cancel the save/load operation. This is usually encountered when the user is working with the Save Options dialog, or if they press the Cancel button while loading.
- SupportsSavingLayers
Indicates whether the FileType supports saving layers. This affects whether the image is flattened before being sent to the FileType's Save() method.
Methods
- Create()
Creates an instance of FileTypeOptions with default values.