FontPitch

Overview

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

Represents the font pitch.

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 FontPitch 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
DEFAULTSpecifies that no information is available about the pitch of a font.
FIXEDSpecifies that this is a fixed width font.
VARIABLESpecifies that this is a proportional width font.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of FontPitch values.

Methods

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

See Also