FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlxFont Record

this record describes an Excel font.

Pascal
TFlxFont = record
  Name: UTF16String;
  Size20: Word;
  ColorIndex: integer;
  Style: SetOfTFlxFontStyle;
  Underline: TFlxUnderline;
  Family: byte;
  CharSet: byte;
end;
C++
struct TFlxFont {
  UTF16String Name;
  Word Size20;
  int ColorIndex;
  SetOfTFlxFontStyle Style;
  TFlxUnderline Underline;
  byte Family;
  byte CharSet;
};
Members 
Description 
Name: UTF16String; 
Name of the font, like Arial or Times New Roman. 
Size20: Word; 
Height of the font (in units of 1/20th of a point). A Size20=200 means 10 points.  
ColorIndex: integer; 
Index on the color palette.  
Style: SetOfTFlxFontStyle; 
Style of the font, such as bold or italics. Underline is a different option.  
Underline: TFlxUnderline; 
Underline type.  
Family: byte; 
Font family, (see Windows API LOGFONT structure).  
CharSet: byte; 
Character set. (see Windows API LOGFONT structure)  
Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!