public final class XmpReal extends XmpTypeBase
Represents XMP Real.
Constructor and Description |
---|
XmpReal(float value)
Initializes a new instance of the
XmpReal class. |
XmpReal(String value)
Initializes a new instance of the
XmpReal class. |
Modifier and Type | Method and Description |
---|---|
float |
getValue()
Gets float value.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
void |
setValue(float value)
Sets float value.
|
toBool, toDateTime, toFloat, toGuid, toInt, toString, toStringArray
public XmpReal(float value)
Initializes a new instance of the XmpReal
class.
value
- Float value.public XmpReal(String value)
Initializes a new instance of the XmpReal
class.
value
- The value.com.aspose.ms.System.ArgumentNullException
- Value could not be null.com.aspose.ms.System.ArgumentException
- Invalid value. Should be float.public final float getValue()
Gets float value.
public final void setValue(float value)
Sets float value.
value
- Float value.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpTypeBase
string
contained XMP representation.Copyright © 2018. All rights reserved.