public final class ConditionalLength extends ConditionalObject
DataBarCondition
of a conditional formatting rule to specify data bar length.Modifier and Type | Method and Description |
---|---|
int |
getLength()
Gets the data bar length as a percentage of the cell width.
|
void |
setLength(int value)
Sets the data bar length as a percentage of the cell width.
|
String |
toString()
Returns a
String that represents this ConditionalLength instance. |
getValue, setValue
public int getLength()
public void setLength(int value)
value
- The data bar length as a percentage of the cell width.IndexOutOfBoundsException
- Value is less than 0 or greater than 100.public String toString()
String
that represents this ConditionalLength
instance.
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
toString
in class ConditionalObject
String
that represents this ConditionalLength
instance.© GemBox Ltd. — All rights reserved.