ContentsResizeValue

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

NameTypeAccessDescription
valuedoubleReadGets the numeric value.
percentbooleanReadReturns whether this value is a percentage.

Methods

SignatureDescription
percents(value: double)ContentsResizeValueCreates a percentage-based resize value.
units(value: double)ContentsResizeValueCreates an absolute resize value in points.
getValue()doubleGets the numeric value.
isPercent()booleanReturns whether this value is a percentage.

See Also

 English