PreferredWidthType

PreferredWidthType

Overview

PreferredWidthType is an enum in Aspose.Words FOSS for Java.

Specifies the unit of measurement for the preferred width of a table or cell.

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

This enum declares 4 methods for PreferredWidthType objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
AUTOThe preferred width is not specified.
PERCENTMeasure the current item width using a specified percentage.
POINTSMeasure the current item width using a specified number of points (1/72 inch).

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of PreferredWidthType values.

Methods

SignatureDescription
getName(preferredWidthType: int) → StringReturns JAVA_STYLE string representation of integer PreferredWidthType value.
toString(preferredWidthType: int) → StringReturns DotNetStyle string representation of integer PreferredWidthType value.
fromName(preferredWidthTypeName: String) → intReturns integer representation by PreferredWidthType name.
getValues() → int[]Returns array of PreferredWidthType values.

See Also