public class ShmdResource extends LayerResource
Class ShmdResource. Metadata settings
LayerResource| Modifier and Type | Field and Description |
|---|---|
static int |
SubResourceHeaderLength
The sub resource header length
|
static int |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature| Constructor and Description |
|---|
ShmdResource()
Initializes a new instance of the
ShmdResource class. |
ShmdResource(byte[] data)
Initializes a new instance of the
ShmdResource class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getKey()
Gets the layer resource key.
|
Date |
getLayerCreatedDateTime()
Gets or sets the layer created time.
|
int |
getLength()
Gets the layer resource length in bytes.
|
int |
getPsdVersion()
Gets the psd version.
|
int |
getSignature()
Gets the signature.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the specified stream container.
|
void |
setLayerCreatedDateTime(Date value)
Gets or sets the layer created time.
|
toStringpublic static final int TypeToolKey
The type tool info key.
public static final int SubResourceHeaderLength
The sub resource header length
public ShmdResource()
Initializes a new instance of the ShmdResource class.
public ShmdResource(byte[] data)
Initializes a new instance of the ShmdResource class.
data - The data of the resource.public final Date getLayerCreatedDateTime()
Gets or sets the layer created time. If Layer created time not specified then returns new DateTime(0)
Value: The layer created time.public final void setLayerCreatedDateTime(Date value)
Gets or sets the layer created time. If Layer created time not specified then returns new DateTime(0)
Value: The layer created time.public int getSignature()
Gets the signature.
getSignature in class LayerResourcepublic int getKey()
Gets the layer resource key.
getKey in class LayerResourcepublic int getLength()
Gets the layer resource length in bytes.
getLength in class LayerResourcepublic int getPsdVersion()
Gets the psd version.
getPsdVersion in class LayerResourcepublic void save(StreamContainer streamContainer, int psdVersion)
Saves the specified stream container.
save in class LayerResourcestreamContainer - The stream container.psdVersion - The PSD version.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.