TFlxApplyFont Class
Encapsulation of an Excel Font.
Syntax
Namespace: FlexCel.Core
public class TFlxApplyFont: ICloneable
Methods
| Name | Description |
|---|---|
| Apply | This method will modify existingFormat with the properties from newFormat that are specified on this class |
| Clone | Returns a deep copy of the font. |
| Equals | Returns true if both objects are the same. |
| GetHashCode | Returns the hash code of the object. |
| HasStyleStrikeout | Returns true if this struct applies a strikeout. This is the same as checking if StyleEx contains Strikeout. |
| SetAllMembers | Sets all members to true or false |
Properties
| Name | Description |
|---|---|
| CharSet | Character set. (see Windows API LOGFONT structure) |
| Color | Color of the font. |
| Family | Font family, (see Windows API LOGFONT structure). |
| IsEmpty | Returns true if the format definition does not apply any setting. |
| Name | Font name. (For example, "Arial") |
| Scheme | Scheme of the font, when using themes. (Excel 2007). |
| Size20 | Height of the font (in units of 1/20th of a point). A Size20=200 means 10 points. |
| Style | Style of the font, such as bold or italics. Underline is a different option. Note that when true this applies the full style, and sets all values of StyleEx to true. StyleEx can be used for more fine control over what styles are applied. |
| StyleEx | Allows to control which styles are applied one by one, different from Style which applies all the styles at once. Setting Style will change all the StyleEx at once. |
| Underline | Underline type. |