FontMetrics Fields

Overview | Methods | This Package | All Packages

FontMetrics Fields

Fields Description
ascent Represents the font ascent, which is the distance from the base line to the top of most alphanumeric characters.

averageWidth Represents the average character width for characters drawn using the described font.

breakChar Specifies the value of the character that will be used to define word breaks for text justification.

charSet Specifies the font's character set. This value must be one of the enumeration constants defined in the com.ms.wfc.app.CharacterSet class.

defaultChar Specifies the value of the character to be substituted for characters not found in the font.

descent Specifies the descent (units below the base line) of characters.

digitizedAspectX Specifies the horizontal aspect of the device for which the font was designed.

digitizedAspectY Specifies the vertical aspect of the device for which the font was designed.

externalLeading Specifies the amount of extra leading (space) that the application adds between rows. The designer may set this member to zero.

family Specifies the font family.

firstChar Specifies the value of the first character defined in the font.

font Specifies the font on which this FontMetrics object is based (in cases where the object is constructed based on a Font object).

height Represents the height (ascent + descent) of characters.

internalLeading Specifies the amount of leading (space) inside the bounds set by the height member.

italic Specifies whether the font is italicized.

lastChar Specifies the value of the last character defined in the font.

maxWidth Specifies the width of the widest character in the font.

name Specifies the name of the font face (in cases where the object is constructed based on a Font object).

overhang Specifies the extra width per string that may be added to some synthesized fonts.

pitch Specifies the pitch of the font.

strikeOut Specifies whether the font is a strikeout font.

underline Specifies whether the font is underlined.

weight Specifies the font weight.