TextFont Class |
Namespace: TextObjectModel
The TextFont type exposes the following members.
Name | Description | |
---|---|---|
Clone |
Gets a duplicate of this text font object.
| |
CopyFrom |
Sets the character formatting by copying another text font object.
| |
Dispose | Releases all resources used by the TextFont | |
Dispose(Boolean) | Releases the unmanaged resources used by the TextFont and optionally releases the managed resources | |
Equals(Object) |
Tests if this object is considered equal to another.
(Overrides ObjectEquals(Object).) | |
Equals(TextFont) |
Tests if this TextFont is considered equal to another.
| |
Finalize | (Overrides ObjectFinalize.) | |
GetHashCode |
Calculates a hash code for this object.
(Overrides ObjectGetHashCode.) | |
GetProperty |
(TOM 2 only)
Gets the value of a property.
| |
GetPropertyInfo |
(TOM 2 only)
Gets the property type and value of the specified extra property.
| |
Reset |
Resets the character formatting to the default character format.
| |
SetProperty |
(TOM 2 only)
Sets the value of the specified property.
|
Name | Description | |
---|---|---|
AllCaps |
Gets whether the characters are all uppercase.
| |
AutoLigatures |
(TOM 2 only)
Gets or sets whether support for automatic ligatures is active.
| |
AutospaceAlpha |
(TOM 2 only)
Gets or sets the East Asian "autospace alphabetics" state.
| |
AutospaceNumeric |
(TOM 2 only)
Gets or sets the East Asian "autospace numeric" state.
| |
AutospaceParens |
(TOM 2 only)
Gets or sets the East Asian "autospace parentheses" state.
| |
BackColor |
Gets or sets the text background (highlight) color.
| |
Bold |
Gets or sets whether the characters are bold.
| |
CanChange |
Determines whether the font can be changed.
| |
CharRep |
(TOM 2 only)
Gets or sets the character repertoire (writing system).
| |
CompressionMode |
(TOM 2 only)
Gets or sets the East Asian compression mode.
| |
Cookie |
(TOM 2 only)
Gets or sets the client cookie.
| |
Count |
(TOM 2 only)
Gets the count of extra properties in this character formatting collection.
| |
DoubleStrike |
(TOM 2 only)
Gets or sets whether characters are displayed with double horizontal lines through the center.
| |
Effects |
(TOM 2 only)
Gets or sets the character format effects.
| |
Effects2 |
(TOM 2 only)
Gets or sets the additional character format effects.
| |
Emboss |
Gets or sets whether the characters are embossed.
| |
ForeColor |
Gets or sets the foreground (text) color.
| |
Hidden |
Gets or sets whether characters are hidden.
| |
Italic |
Gets or sets whether characters are in italics.
| |
Kerning |
Gets or sets the minimum font size at which kerning occurs.
| |
LanguageID |
Gets or sets the language ID or language code identifier (LCID).
| |
LinkType |
(TOM 2 only)
Gets the link type.
| |
MathZone |
(TOM 2 only)
Gets or sets whether a math zone is active.
| |
ModWidthPairs |
(TOM 2 only)
Gets or sets whether "decrease widths on pairs" is active.
| |
ModWidthSpace |
(TOM 2 only)
Gets or sets whether "increase width of whitespace" is active.
| |
Name |
Gets or sets the font name.
| |
OldNumbers |
(TOM 2 only)
Gets or sets whether old-style numbers are active.
| |
Outline |
Gets or sets whether characters are displayed as outlined characters.
| |
Overlapping |
(TOM 2 only)
Gets or sets whether overlapping text is active.
| |
Position |
Gets or sets the amount that characters are offset vertically relative to the baseline.
| |
PositionSubSuper |
(TOM 2 only)
Gets or sets the subscript or superscript position relative to the baseline (as a percent of the font height).
| |
Protected |
Gets or sets whether characters are protected against attempts to modify them.
| |
Shadow |
Gets or sets whether characters are displayed as shadowed characters.
| |
Size |
Gets or sets the font size, in points.
| |
SmallCaps |
Gets or sets whether characters are in small capital letters.
| |
SpaceExtension |
(TOM 2 only)
Gets or sets the East Asian space extension value.
| |
StrikeThrough |
Gets or sets whether characters are displayed with a horizontal line through the center.
| |
Style |
Gets or sets the character style handle of the characters in a range.
| |
Subscript |
Gets or sets whether characters are displayed as subscript.
| |
Superscript |
Gets or sets whether characters are displayed as superscript.
| |
UnderlineColor |
Gets or sets the underline color for the characters in a range.
| |
UnderlinePositionMode |
(TOM 2 only)
Gets or sets the underline position mode.
| |
UnderlineStyle |
Gets or sets the type of underlining for the characters in a range.
| |
Weight |
Gets or sets the font weight for the characters in a range.
|
Managed wrapper class for the COM interface ITextFont, including ITextFont2 functionality.
Most properties of this class are implemented using nullable types. If a property returns null, its value is undefined. Properties may be undefined if the range spans several character formats.