XmpBoolean Class

Summary: Represents XMP Boolean basic type.

Module: aspose.imaging.xmp.types.basic

Full Name: aspose.imaging.xmp.types.basic.XmpBoolean

Inheritance: IXmpType, XmpTypeBase

Aspose.Imaging Version: 24.7.0

Constructors

NameDescription
XmpBoolean()Initializes a new instance of the XmpBoolean class with default value.
XmpBoolean(value)Initializes a new instance of the XmpBoolean class based on boolean value.
XmpBoolean(value)Initializes a new instance of the XmpBoolean class based on boolean value.

Properties

NameTypeAccessDescription
valueboolr/wGets or sets a value indicating whether this XmpBoolean is value.

Methods

NameDescription
get_xmp_representation()Returns string contained value in XMP format.

Constructor: XmpBoolean()

 XmpBoolean() 

Initializes a new instance of the XmpBoolean class with default value.

Constructor: XmpBoolean(value)

 XmpBoolean(value) 

Initializes a new instance of the XmpBoolean class based on boolean value.

Parameters:

ParameterTypeDescription
valueboolThe Boolean value. Allowed values are True or False.

Constructor: XmpBoolean(value)

 XmpBoolean(value) 

Initializes a new instance of the XmpBoolean class based on boolean value.

Parameters:

ParameterTypeDescription
valuestringThe Boolean value. Allowed values are True or False.

Method: get_xmp_representation()

 get_xmp_representation() 

Returns string contained value in XMP format.

Returns

TypeDescription
stringReturns string containing xmp representation.