Class PathStructure
Contents
[
Hide
]PathStructure class
The path structure.
public sealed class PathStructure : OSTypeStructure
Constructors
Name | Description |
---|---|
PathStructure(ClassID) | Initializes a new instance of the PathStructure class. |
Properties
Name | Description |
---|---|
override Key { get; } | Gets the structure key. |
KeyName { get; set; } | Gets or sets the key name. |
override Length { get; } | Gets the OSTypeStructure length in bytes. |
Path { get; set; } | Gets or sets the path. |
Prefix { get; set; } | Gets or sets the path prefix. |
Methods
Name | Description |
---|---|
virtual GetHeaderLength() | Gets the header length. |
Save(StreamContainer) | Saves the structure to the specified stream container. |
SaveWithoutKeyName(StreamContainer) | Saves the structure to the specified stream container. |
Fields
Name | Description |
---|---|
const StructureKey | Identifies the structure key. |
Examples
The following code demonstrates ability to load file with PathStructure structure.
[C#]
string srcFile = "shirt-color.psd";
string output = "output.psd";
using (PsdImage image = (PsdImage)Image.Load(srcFile))
{
image.Save(output);
}
See Also
- class OSTypeStructure
- namespace Aspose.PSD.FileFormats.Psd.Layers.LayerResources.TypeToolInfoStructures
- assembly Aspose.PSD