XmpReal

Inheritance: java.lang.Object, com.aspose.imaging.xmp.types.XmpTypeBase

public final class XmpReal extends XmpTypeBase

Represents XMP Real.

Constructors

ConstructorDescription
XmpReal(float value)Initializes a new instance of the XmpReal class.
XmpReal(String value)Initializes a new instance of the XmpReal class.

Methods

MethodDescription
getValue()Gets or sets float the value.
setValue(float value)Gets or sets float the value.
getXmpRepresentation()Gets the string contained value in XMP format.

XmpReal(float value)

public XmpReal(float value)

Initializes a new instance of the XmpReal class.

Parameters:

ParameterTypeDescription
valuefloatFloat value.

XmpReal(String value)

public XmpReal(String value)

Initializes a new instance of the XmpReal class.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value.

getValue()

public float getValue()

Gets or sets float the value.

Value: The float value.

Returns: float

setValue(float value)

public void setValue(float value)

Gets or sets float the value.

Value: The float value.

Parameters:

ParameterTypeDescription
valuefloat

getXmpRepresentation()

public String getXmpRepresentation()

Gets the string contained value in XMP format.

Returns: java.lang.String - Returns the string contained value in XMP format.