Search Results for

    Show / Hide Table of Contents

    TFlxApplyFont Class

    Encapsulation of an Excel Font.

    Syntax

    Namespace: FlexCel.Core

    public class TFlxApplyFont: ICloneable

    Methods

    Name Description
    SetAllMembers Sets all members to true or false
    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.

    Properties

    Name Description
    Name Font name. (For example, "Arial")
    Size20 Height of the font (in units of 1/20th of a point). A Size20=200 means 10 points.
    Color Color of the font.
    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.
    Family Font family, (see Windows API LOGFONT structure).
    CharSet Character set. (see Windows API LOGFONT structure)
    Scheme Scheme of the font, when using themes. (Excel 2007).
    IsEmpty Returns true if the format definition does not apply any setting.
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com