ContentsResizeValue
Overview
ContentsResizeValue is a class in Aspose.PDF FOSS for Java.
Represents a value used in content resizing parameters.
This class provides 4 methods for working with ContentsResizeValue objects in Java programs.
Available methods include: getValue, isPercent, percents, units.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: percent, value.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
value | double | Read | Gets the numeric value. |
percent | boolean | Read | Returns whether this value is a percentage. |
Methods
| Signature | Description |
|---|---|
percents(value: double) → ContentsResizeValue | Creates a percentage-based resize value. |
units(value: double) → ContentsResizeValue | Creates an absolute resize value in points. |
getValue() → double | Gets the numeric value. |
isPercent() → boolean | Returns whether this value is a percentage. |