MergeFieldImageDimension

MergeFieldImageDimension

Overview

MergeFieldImageDimension is a class in Aspose.Words FOSS for Java. Inherits from: Cloneable.

Represents an image dimension (i.e. the width or the height) used across a mail merge process.

Edition status of its 7 listed members (a property and its accessor methods are listed separately, overloads once): 7 not yet exercised by a verified example.

This class declares 6 methods for MergeFieldImageDimension objects in Java programs. Available methods include: MergeFieldImageDimension, getUnit, getValue, setUnit, setValue. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: unit, value.

Properties

NameTypeAccessDescription
valuedoubleRead/WriteThe value.
unitintRead/WriteThe unit.

Methods

SignatureDescription
MergeFieldImageDimension(value: double)Creates an image dimension instance with the given value in points.
MergeFieldImageDimension(value: double, unit: int)Creates an image dimension instance with the given value and the given unit.
getValue() → doubleThe value.
setValue(value: double)Sets the value value.
getUnit() → intThe unit.
setUnit(value: int)Sets the unit value.

See Also