public class StructureAttribute extends Object
Represents attribute of structure element.
Constructor and Description |
---|
StructureAttribute(AttributeKey attributeKey)
Initializes a new instance of the StructureAttribute.
|
StructureAttribute(AttributeKey attributeKey,
com.aspose.pdf.engine.data.IPdfPrimitive pdfEntity) |
Modifier and Type | Method and Description |
---|---|
Double[][] |
getArrayNumberValue()
Gets Value Number Array.
|
AttributeName[] |
getArrayValue()
Gets Value Name Array.
|
AttributeKey |
getKey()
Gets attribute key.
|
AttributeName |
getNameValue()
Gets Value Name.
|
Double[] |
getNumberValue()
Gets Value Number.
|
String |
getStringValue()
Gets Value String.
|
boolean |
isInitializedValue()
Gets status of structure attribute value.
|
void |
setArrayNumberValue(Double[][] arrayNumber)
Sets Value Number Array.
|
void |
setArrayValue(AttributeName[] array)
Sets Value Name Array.
|
void |
setColorValue(Color color)
Sets Value Color.
|
void |
setNameValue(AttributeName name)
Sets Value Name.
|
void |
setNumberValue(double number)
Sets Value Number.
|
void |
setRectangleValue(Rectangle rectangle)
Sets Value Rectangle.
|
void |
setStringValue(String value)
Sets Value String.
|
public StructureAttribute(AttributeKey attributeKey)
Initializes a new instance of the StructureAttribute.
attributeKey
- Attribute Keypublic StructureAttribute(AttributeKey attributeKey, com.aspose.pdf.engine.data.IPdfPrimitive pdfEntity)
public final AttributeKey getKey()
Gets attribute key.
Value: Attribute Key.public final AttributeName getNameValue()
Gets Value Name.
public final String getStringValue()
Gets Value String.
public final Double[] getNumberValue()
Gets Value Number.
public final AttributeName[] getArrayValue()
Gets Value Name Array.
public final Double[][] getArrayNumberValue()
Gets Value Number Array.
public final void setNameValue(AttributeName name)
Sets Value Name.
name
- Allowable Value Name.public final void setStringValue(String value)
Sets Value String.
value
- Value String.public final void setNumberValue(double number)
Sets Value Number.
number
- Value Number.public final void setArrayValue(AttributeName[] array)
Sets Value Name Array.
array
- Array of allowable Value Names.public final void setArrayNumberValue(Double[][] arrayNumber)
Sets Value Number Array.
arrayNumber
- Array of Numbers.public final void setColorValue(Color color)
Sets Value Color.
color
- Color.public final void setRectangleValue(Rectangle rectangle)
Sets Value Rectangle.
rectangle
- Rectangle.public final boolean isInitializedValue()
Gets status of structure attribute value. True if value is set.