ClassID Class

Summary: The PSD Class ID object.

Module: aspose.psd.fileformats.psd.layers.layerresources

Full Name: aspose.psd.fileformats.psd.layers.layerresources.ClassID

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
ClassID(class_id)Initializes a new instance of the ClassID class.
ClassID(class_id)Initializes a new instance of the ClassID class.
ClassID(class_id)Initializes a new instance of the ClassID class.
ClassID(class_id)Initializes a new instance of the ClassID class.
ClassID(class_id, is_zero_length)Initializes a new instance of the ClassID class.
ClassID(class_id, is_zero_length)Initializes a new instance of the ClassID class.

Properties

NameTypeAccessDescription
bytesbyterGets the bytes representing class ID.
class_namestringrGets the class name as ASCII encoding.
lengthintrGets the class ID length in bytes.

Methods

NameDescription
save(stream_container)Saves the class information to the specified stream container.

Constructor: ClassID(class_id)

 ClassID(class_id) 

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
class_idbyteThe class ID as series of bytes.

Constructor: ClassID(class_id)

 ClassID(class_id) 

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
class_idintThe class ID as series of bytes.

Constructor: ClassID(class_id)

 ClassID(class_id) 

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
class_iduintThe class ID as series of bytes.

Constructor: ClassID(class_id)

 ClassID(class_id) 

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
class_idstringThe class ID as series of bytes.

Constructor: ClassID(class_id, is_zero_length)

 ClassID(class_id, is_zero_length) 

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
class_idbyteThe class ID as series of bytes.
is_zero_lengthboolif set to true [is zero length].
The recorded string length is zero but actual is four.

Constructor: ClassID(class_id, is_zero_length)

 ClassID(class_id, is_zero_length) 

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
class_idstringThe class ID as series of bytes.
is_zero_lengthboolif set to true [is zero length].
The recorded string length is zero but actual is four.

Method: save(stream_container)

 save(stream_container) 

Saves the class information to the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container to save to.