TThemeFont Class
Represents either a major or a minor font for the theme.
Syntax
Namespace: FlexCel.Core
public class TThemeFont
Constructors
Name | Description |
---|---|
TThemeFont | Overloaded TThemeFont TThemeFont(TThemeTextFont, TThemeTextFont, TThemeTextFont) |
Methods
Name | Description |
---|---|
AddFont | Adds a new font to the font collection. |
GetFont | Returns the typeface associated with a script. |
ClearFonts | Clears all font associations. |
GetFontScripts | Returns all scripts that have a current association. You can use the values in this array as keys for GetFont |
Clone | Returns a deep copy of this object. |
Equals | Returns true if both objects are the same. |
GetHashCode | Returns the hashcode for the object. |
Properties
Name | Description |
---|---|
Latin | NORMALLY THIS IS ALL YOU HAVE TO CHANGE TO CHANGE A TYPEFACE. Check with APIMate if unsure. This element specifies that a Latin font be used for a specific run of text. This font is specified with a typeface attribute much like the others but is specifically classified as a Latin font. |
EastAsian | This element specifies that an East Asian font be used for a specific run of text. This font is specified with a typeface attribute much like the others but is specifically classified as an East Asian font. |
ComplexScript | This element specifies that a complex script font be used for a specific run of text. This font is specified with a typeface attribute much like the others but is specifically classified as a complex script font. |