public class UnknownResource extends LayerResource
The unknown resource.
PsbResourceSignature, ResourceSignature| Constructor and Description |
|---|
UnknownResource(int signature,
int key)
Initializes a new instance of the
UnknownResource class. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Gets or sets the data.
|
int |
getKey()
Gets the layer resource key.
|
int |
getLength()
Gets the layer resource length in bytes.
|
int |
getPsdVersion()
Gets the minimal psd version required for layer resource.
|
int |
getSignature()
Gets the layer resource signature.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the specified stream container.
|
void |
setData(byte[] value)
Gets or sets the data.
|
toStringpublic UnknownResource(int signature,
int key)
Initializes a new instance of the UnknownResource class.
signature - The signature.key - The resource key.public final byte[] getData()
Gets or sets the data.
Value: The data.public final void setData(byte[] value)
Gets or sets the data.
Value: The data.public int getSignature()
Gets the layer resource 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 minimal psd version required for layer resource. 0 indicates no restrictions.
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.