PsdOptions Class
Contents
[
Hide
]Summary: The psd file format create options.
Module: aspose.psd.imageoptions
Full Name: aspose.psd.imageoptions.PsdOptions
Inheritance: ImageOptionsBase
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
PsdOptions() | Initializes a new instance of the PsdOptions class. |
PsdOptions(image) | Initializes a new instance of the PsdOptions class. |
PsdOptions(options) | Initializes a new instance of the PsdOptions class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
background_contents | RawColor | r/w | Gets or sets the color of background. It can be seen under transparent objects. |
buffer_size_hint | int | r/w | Gets or sets the buffer size hint which is defined max allowed size for all internal buffers. |
channel_bits_count | short | r/w | Gets or sets the bits count per color channel. |
channels_count | short | r/w | Gets or sets the color channels count. |
color_mode | ColorModes | r/w | Gets or sets the psd color mode. |
compression_method | CompressionMethod | r/w | Gets or sets the psd compression method. |
default_replacement_font | string | r/w | 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 }); |
disposed | bool | r | Gets a value indicating whether this instance is disposed. |
full_frame | bool | r/w | Gets or sets a value indicating whether [full frame]. |
multi_page_options | MultiPageOptions | r/w | The multipage options |
palette | IColorPalette | r/w | Gets or sets the color palette. |
psd_version | PsdVersion | r/w | Gets or sets the file format version. It can be PSD or PSB. |
refresh_image_preview_data | bool | r/w | Gets or sets a value indicating whether [refresh image preview data] - option used to maximize compatibility with another PSD image viewers. Please note, text layers drawing to final layout is not supported for Compact Framework platform |
remove_global_text_engine_resource | bool | r/w | Gets or sets a value indicating whether - Remove the global text engine resource - Used for some text-layered psd files, in only case, when they can not be opened in Adobe Photoshop after processing (mostly for absent fonts text layers related). After using this option, user need to Make next in opened in Photoshop file: Menu “Text” -> “Process absent fonts”. After that operation all text will appear again. Please note, that this operation may cause some final layout changes. |
resolution_settings | ResolutionSetting | r/w | Gets or sets the resolution settings. |
resources | ResourceBlock[] | r/w | Gets or sets the psd resources. |
source | Source | r/w | Gets or sets the source to create image in. |
update_metadata | bool | r/w | Gets or sets a value indicating whether [update metadata]. If the value is true, the metadata will be updated while saving an image. |
vector_rasterization_options | VectorRasterizationOptions | r/w | Gets or sets the vector rasterization options. |
version | int | r/w | Gets or sets the psd file version. |
xmp_data | XmpPacketWrapper | r/w | Get or set XMP data container |
Methods
Name | Description |
---|---|
clone() | Clones this instance. |
Constructor: PsdOptions()
PsdOptions()
Initializes a new instance of the PsdOptions class.
Constructor: PsdOptions(image)
PsdOptions(image)
Initializes a new instance of the PsdOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
image | PsdImage | The image. |
Constructor: PsdOptions(options)
PsdOptions(options)
Initializes a new instance of the PsdOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
options | PsdOptions | The options. |
Method: clone()
clone()
Clones this instance.
Returns
Type | Description |
---|---|
ImageOptionsBase | Returns shallow copy of this instance |