ResourceBlock Class
The resource block.
Inheritance Hierarchy
SystemObject
  Aspose.PSD.FileFormats.PsdResourceBlock
    More...

Namespace: Aspose.PSD.FileFormats.Psd
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 22.1
Syntax
public abstract class ResourceBlock

The ResourceBlock type exposes the following members.

Constructors
  NameDescription
Protected methodResourceBlock
Initializes a new instance of the ResourceBlock class
Properties
  NameDescription
Public propertyDataSize
Gets the resource data size in bytes.
Public propertyID
Gets or sets the unique identifier for the resource.
Public propertyMinimalVersion
Gets the minimal required PSD version.
Public propertyName
Gets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0).
Public propertySignature
Gets the resource signature. Should be always '8BIM'.
Public propertySize
Gets the resource block size in bytes including its data.
Methods
  NameDescription
Protected methodCacheData
Caches the data for subsequent faster retrieval.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSave
Saves the resource block to the specified stream.
Protected methodSaveData
Saves the resource block data.
Protected methodStopDataCache
Stops data caching.
Public methodToString (Inherited from Object.)
Public methodValidateValues
Validates the resource values.
Fields
  NameDescription
Public fieldStatic memberCode exampleResouceBlockMeSaSignature
The resource signature of ImageReady.
Public fieldStatic memberResouceBlockSignature
The regular Photoshop resource signature.
See Also
Inheritance Hierarchy
SystemObject
  Aspose.PSD.FileFormats.PsdResourceBlock
    Aspose.PSD.FileFormats.Psd.ResourcesBackgroundColorResource
    Aspose.PSD.FileFormats.Psd.ResourcesBorderInformationResource
    Aspose.PSD.FileFormats.Psd.ResourcesCaptionDigestResource
    Aspose.PSD.FileFormats.Psd.ResourcesColorHalftoneInformationResource
    Aspose.PSD.FileFormats.Psd.ResourcesColorTransferFunctionsResource
    Aspose.PSD.FileFormats.Psd.ResourcesDocumentSpecificIdsResource
    Aspose.PSD.FileFormats.Psd.ResourcesGlobalAltitudeResource
    Aspose.PSD.FileFormats.Psd.ResourcesGlobalAngleResource
    Aspose.PSD.FileFormats.Psd.ResourcesGridAndGuidesResouce
    Aspose.PSD.FileFormats.Psd.ResourcesIccProfileResource
    Aspose.PSD.FileFormats.Psd.ResourcesIccUntaggedResource
    Aspose.PSD.FileFormats.Psd.ResourcesLayerGroupInformationResource
    Aspose.PSD.FileFormats.Psd.ResourcesLayerGroupsEnabledResource
    Aspose.PSD.FileFormats.Psd.ResourcesLayerSelectionIdsResource
    Aspose.PSD.FileFormats.Psd.ResourcesLayerStateInformationResource
    Aspose.PSD.FileFormats.Psd.ResourcesPixelAspectRatioResource
    Aspose.PSD.FileFormats.Psd.ResourcesPrintFlagsResource
    Aspose.PSD.FileFormats.Psd.ResourcesPrintScaleResource
    Aspose.PSD.FileFormats.Psd.ResourcesQuickMaskInformationResource
    Aspose.PSD.FileFormats.Psd.ResourcesResolutionInfoResource
    Aspose.PSD.FileFormats.Psd.ResourcesThumbnailResource
    Aspose.PSD.FileFormats.Psd.ResourcesTransparencyIndexResource
    Aspose.PSD.FileFormats.Psd.ResourcesUnicodeAlphaNamesResource
    Aspose.PSD.FileFormats.Psd.ResourcesUnknownResource
    Aspose.PSD.FileFormats.Psd.ResourcesUrlListResource
    Aspose.PSD.FileFormats.Psd.ResourcesVersionInfoResource
    Aspose.PSD.FileFormats.Psd.ResourcesWatermarkResource
    Aspose.PSD.FileFormats.Psd.ResourcesWorkingPathResource
    Aspose.PSD.FileFormats.Psd.ResourcesXmpResource