API Help
Eplan.EplApi.DataModel.Graphics Namespace / TextBase.FontInfo Class / TextBase.FontInfo Constructor / TextBase.FontInfo Constructor(Int32,Boolean,Boolean,Boolean,Boolean)
Index of the font in font table. Please see Index member.

In This Topic
    TextBase.FontInfo Constructor(Int32,Boolean,Boolean,Boolean,Boolean)
    In This Topic
    Constructor which creates new Font object.
    Syntax
    public TextBase.FontInfo( 
       int font_index,
       bool bold,
       bool italic,
       bool underline,
       bool strikeout
    )
    public:
    TextBase.FontInfo( 
       int font_index,
       bool bold,
       bool italic,
       bool underline,
       bool strikeout
    )

    Parameters

    font_index
    Index of the font in font table. Please see Index member.
    bold
    italic
    underline
    strikeout
    Remarks
    Font family is represented by font index. P8 has font table with 10 predefined fonts. These fonts names can be changed in string settings: COMPANY.GedViewer.Fonts.Val with index 0 to 9.
    See Also