ITextFont2 interface (tom.h)

In the Text Object Model (TOM), applications access text-range attributes by using a pair of dual interfaces, ITextFont and ITextPara.

The ITextFont2 interface extends ITextFont, providing the programming equivalent of the Microsoft Word format-font dialog.

Inheritance

The ITextFont2 interface inherits from ITextFont. ITextFont2 also has these types of members:

Methods

The ITextFont2 interface has these methods.

 
ITextFont2::GetAutoLigatures

Gets whether support for automatic ligatures is active.
ITextFont2::GetAutospaceAlpha

Gets the East Asian "autospace alphabetics" state.
ITextFont2::GetAutospaceNumeric

Gets the East Asian "autospace numeric" state.
ITextFont2::GetAutospaceParens

Gets the East Asian "autospace parentheses" state.
ITextFont2::GetCharRep

Gets the character repertoire (writing system).
ITextFont2::GetCompressionMode

Gets the East Asian compression mode.
ITextFont2::GetCookie

Gets the client cookie.
ITextFont2::GetCount

Gets the count of extra properties in this character formatting collection.
ITextFont2::GetDoubleStrike

Gets whether characters are displayed with double horizontal lines through the center.
ITextFont2::GetDuplicate2

Gets a duplicate of this character format object.
ITextFont2::GetEffects

Gets the character format effects.
ITextFont2::GetEffects2

Gets the additional character format effects.
ITextFont2::GetLinkType

Gets the link type.
ITextFont2::GetMathZone

Gets whether a math zone is active.
ITextFont2::GetModWidthPairs

Gets whether "decrease widths on pairs" is active.
ITextFont2::GetModWidthSpace

Gets whether "increase width of whitespace" is active.
ITextFont2::GetOldNumbers

Gets whether old-style numbers are active.
ITextFont2::GetOverlapping

Gets whether overlapping text is active.
ITextFont2::GetPositionSubSuper

Gets the subscript or superscript position relative to the baseline.
ITextFont2::GetProperty

Gets the value of the specified property. (ITextFont2.GetProperty)
ITextFont2::GetPropertyInfo

Gets the property type and value of the specified extra property.
ITextFont2::GetScaling

Gets the font horizontal scaling percentage.
ITextFont2::GetSpaceExtension

Gets the East Asian space extension value.
ITextFont2::GetUnderlinePositionMode

Gets the underline position mode.
ITextFont2::IsEqual2

Determines whether this text font object has the same properties as the specified text font object. (ITextFont2.IsEqual2)
ITextFont2::SetAutoLigatures

Sets whether support for automatic ligatures is active.
ITextFont2::SetAutospaceAlpha

Sets the East Asian "autospace alpha" state.
ITextFont2::SetAutospaceNumeric

Sets the East Asian "autospace numeric" state.
ITextFont2::SetAutospaceParens

Sets the East Asian "autospace parentheses" state.
ITextFont2::SetCharRep

Sets the character repertoire (writing system).
ITextFont2::SetCompressionMode

Sets the East Asian compression mode.
ITextFont2::SetCookie

Sets the client cookie.
ITextFont2::SetDoubleStrike

Sets whether characters are displayed with double horizontal lines through the center.
ITextFont2::SetDuplicate2

Sets the properties of this object by copying the properties of another text font object.
ITextFont2::SetEffects

Sets the character format effects.
ITextFont2::SetEffects2

Sets the additional character format effects.
ITextFont2::SetMathZone

Sets whether a math zone is active.
ITextFont2::SetModWidthPairs

Sets whether "decrease widths on pairs" is active.
ITextFont2::SetModWidthSpace

Sets whether "increase width of whitespace" is active.
ITextFont2::SetOldNumbers

Sets whether old-style numbers are active.
ITextFont2::SetOverlapping

Sets whether overlapping text is active.
ITextFont2::SetPositionSubSuper

Sets the position of a subscript or superscript relative to the baseline, as a percentage of the font height.
ITextFont2::SetProperty

Sets the value of the specified property. (ITextFont2.SetProperty)
ITextFont2::SetScaling

Sets the font horizontal scaling percentage.
ITextFont2::SetSpaceExtension

Sets the East Asian space extension value.
ITextFont2::SetUnderlinePositionMode

Sets the underline position mode.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header tom.h