CharacterFonts Class
Represents the detailed description of fonts which shall be used to display the text of the run.
- Inheritance:
- System.ObjectCharacterFonts
Properties
FontNameAscii
Gets or sets the name of the font which shall be used to format all characters in the Unicode code point range (U+0000–U+007F) within the text of the run.
Property Value
- System.String
The name of the font.
FontNameComplexScript
Gets or sets the name of the font which shall be used to format all Complex Script (mainly Arabic) characters within the text of the run.
public string FontNameComplexScript { get; set; }
Public Property FontNameComplexScript As String
Property Value
- System.String
The name of the font.
FontNameEastAsian
Gets or sets the name of the font which shall be used to format all characters in an East Asian Unicode code point range within the text of the run.
Property Value
- System.String
The name of the font.
FontNameHighAnsi
Gets or sets the name of the font which shall be used to format characters within the text of the run which do not fall into the range specified by FontNameAscii, FontNameEastAsian, or FontNameComplexScript.
Property Value
- System.String
The name of the font.
Methods
Equals(Object)
Determines whether the specified System.Object is equal to this CharacterFonts instance.
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
obj
- System.Object
The System.Object to compare with this fonts instance.
Returns
- System.Boolean
true if the specified System.Object is a CharacterFonts and is equal to this CharacterFonts instance; otherwise, false.
Overrides
GetHashCode()
Returns a hash code for this CharacterFonts instance.
Returns
- System.Int32
An integer value that specifies a hash value for this CharacterFonts instance.
Overrides
Operators
Equality(CharacterFonts, CharacterFonts)
Determines whether first
and second
CharacterFontss are equal.
public static bool operator ==(CharacterFonts first, CharacterFonts second)
Public Shared Operator =(first As CharacterFonts, second As CharacterFonts) As Boolean
Parameters
first
- CharacterFonts
The first fonts.
second
- CharacterFonts
The second fonts.
Returns
- System.Boolean
true if first
and second
fonts are equal; otherwise, false.
Inequality(CharacterFonts, CharacterFonts)
Determines whether first
and second
CharacterFontss are not equal.
public static bool operator !=(CharacterFonts first, CharacterFonts second)
Public Shared Operator <>(first As CharacterFonts, second As CharacterFonts) As Boolean
Parameters
first
- CharacterFonts
The first fonts.
second
- CharacterFonts
The second fonts.
Returns
- System.Boolean
true if first
and second
fonts are not equal; otherwise, false.