PsdLoadOptions Class
Psd load options
Inheritance Hierarchy
SystemObject
  Aspose.ImagingLoadOptions
    Aspose.Imaging.ImageLoadOptionsPsdLoadOptions

Namespace: Aspose.Imaging.ImageLoadOptions
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.03
Syntax
public class PsdLoadOptions : LoadOptions

The PsdLoadOptions type exposes the following members.

Constructors
  NameDescription
Public methodPsdLoadOptions
Initializes a new instance of the PsdLoadOptions class
Properties
  NameDescription
Public propertyCode exampleBufferSizeHint
Gets or sets the buffer size hint which is defined max allowed size for all internal buffers.
(Inherited from LoadOptions.)
Public propertyDataBackgroundColor
Gets or sets the Image background Color.
(Inherited from LoadOptions.)
Public propertyDataRecoveryMode
Gets or sets the data recovery mode.
(Inherited from LoadOptions.)
Public propertyDefaultReplacementFont
Gets or sets the default replacement font (font that will be used to draw text when exporting to raster, if existing layer font in PSD file is not presented in system). To take proper name of default font can be used next code snippet: System.Drawing.Text.InstalledFontCollection col = new System.Drawing.Text.InstalledFontCollection(); System.Drawing.FontFamily[] families = col.Families; string defaultFontName = families[0].Name; PsdLoadOptions psdLoadOptions = new PsdLoadOptions() { DefaultReplacementFont = defaultFontName });
Public propertyIgnoreAlphaChannel
Gets or sets a value indicating whether [ignore alpha channel].
Public propertyIgnoreTextLayerWidthOnUpdate
Gets or sets a value indicating whether PSD text layer fixed width will be ignored on UpdateText operation execution.
Public propertyLoadEffectsResource
Gets or sets a value indicating whether [load effects resource] (by default resource is not loaded). When set this option only supported effects will be rendered to final merged image.
Public propertyCode exampleProgressEventHandler
Gets or sets the progress event handler.
(Inherited from LoadOptions.)
Public propertyReadOnlyMode
Gets or sets a value indicating whether [use read only mode]. This is read-only mode, supported for identical compatibility with Adobe Photoshop. When this option is set, all changes applied for layers will not be saved to final image. All data is used from ImageData section, so it is identical to Photoshop. By default all loaded images are not identical to Adobe Photoshop compatible.
Public propertyUseDiskForLoadEffectsResource
Gets or sets a value indicating whether [use disk for load effects resource] (by default used disk to load effects resource, but can be used memory if it is enought by setting this value to false).
Public propertyUseIccProfileConversion
Gets or sets a value indicating whether ICC profile conversion should be applied.
(Inherited from LoadOptions.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also