Measure.NumberFormat.FractionStyle
Inheritance: java.lang.Object, java.lang.Enum < Measure.NumberFormat.FractionStyle > com.aspose.pdf.Measure.NumberFormat.FractionStyle, java.lang.Enum < Measure.NumberFormat.FractionStyle >, com.aspose.pdf.Measure.NumberFormat.FractionStyle
All Implemented Interfaces: Serializable, Comparable < Measure.NumberFormat.FractionStyle >
public static enum Measure.NumberFormat.FractionStyle extends Enum < Measure.NumberFormat.FractionStyle >
Value which indicates in which manner fraction values are displayed.
Fields
| Field | Description |
|---|---|
| Round | Round fractional values to the nearest whole integer. |
| ShowAsDecimal | Show fractional values as decimal fraction. |
| ShowAsFraction | Show fractional value as fraction. |
| Truncate | Truncate to achieve whole units. |
Methods
| Method | Description |
|---|---|
| getByValue | |
| getValue | |
| valueOf | Returns the enum constant of this type with the specified name. |
| values | Returns an array containing the constants of this enum type, in the order they are declared. |
Round
public static final Measure.NumberFormat.FractionStyle Round
Round fractional values to the nearest whole integer.
ShowAsDecimal
public static final Measure.NumberFormat.FractionStyle ShowAsDecimal
Show fractional values as decimal fraction.
ShowAsFraction
public static final Measure.NumberFormat.FractionStyle ShowAsFraction
Show fractional value as fraction.
Truncate
public static final Measure.NumberFormat.FractionStyle Truncate
Truncate to achieve whole units.
getByValue
public static Measure.NumberFormat.FractionStyle getByValue(int value)
getValue
public int getValue()
valueOf
Returns the enum constant of this type with the specified name.
values
public static Measure.NumberFormat.FractionStyle [] values()
Returns an array containing the constants of this enum type, in the order they are declared.
Returns: an array containing the constants of this enum type, in the order they are declared