public final class UnitStructure extends OSTypeStructure
The unit structure.
Modifier and Type | Field and Description |
---|---|
static int |
STRUCTURE_KEY
Identifies the structure key.
|
Constructor and Description |
---|
UnitStructure(ClassID keyName)
Initializes a new instance of the
UnitStructure class. |
Modifier and Type | Method and Description |
---|---|
int |
getKey()
Gets the structure key.
|
int |
getLength()
Gets the
OSTypeStructure length in bytes. |
int |
getUnitType()
Gets or sets the unit type.
|
double |
getValue()
Gets or sets the value.
|
void |
setUnitType(int value) |
void |
setValue(double value) |
getHeaderLength, getKeyName, save, saveWithoutKeyName, setKeyName
public static final int STRUCTURE_KEY
Identifies the structure key.
public UnitStructure(ClassID keyName)
Initializes a new instance of the UnitStructure
class.
keyName
- The key name.public int getUnitType()
Gets or sets the unit type.
Value: The unit type.public void setUnitType(int value)
public double getValue()
Gets or sets the value.
Value: The value.public void setValue(double value)
public int getKey()
Gets the structure key.
getKey
in class OSTypeStructure
public int getLength()
Gets the OSTypeStructure
length in bytes.
getLength
in class OSTypeStructure
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.