Format for one cell.
TFlxFormat = record Font: TFlxFont; Borders: TFlxBorders; Format: UTF16String; FillPattern: TFlxFillPattern; HAlignment: THFlxAlignment; VAlignment: TVFlxAlignment; Locked: boolean; Hidden: boolean; Parent: integer; WrapText: boolean; ShrinkToFit: boolean; Rotation: byte; Indent: byte; end;
struct TFlxFormat { TFlxFont Font; TFlxBorders Borders; UTF16String Format; TFlxFillPattern FillPattern; THFlxAlignment HAlignment; TVFlxAlignment VAlignment; boolean Locked; boolean Hidden; int Parent; boolean WrapText; boolean ShrinkToFit; byte Rotation; byte Indent; };
|
Members |
Description |
|
Font: TFlxFont; |
Cell Font. |
|
Borders: TFlxBorders; |
Cell borders. |
|
Format: UTF16String; |
Format string. (For example, "yyyy-mm-dd" for a date format, or "#.00" for a numeric 2 decimal format) This format string is the same you use in Excel unde "Custom" format when formatting a cell, and it is documented in Excel documentation. Under "Finding out what format string to use in TFlxFormat.Format" section in UsingFlexCelAPI.pdf you can find more detailed information on how to create this string. |
|
FillPattern: TFlxFillPattern; |
Fill pattern. |
|
HAlignment: THFlxAlignment; |
Horizontal alignment on the cell. |
|
VAlignment: TVFlxAlignment; |
Vertical alignment on the cell. |
|
Locked: boolean; |
Cell is locked. |
|
Hidden: boolean; |
Cell is Hidden. |
|
Parent: integer; |
Parent style. Not currently supported by flexcel. |
|
WrapText: boolean; |
Cell wrap. |
|
ShrinkToFit: boolean; |
Shrink to fit. |
|
Rotation: byte; |
Text Rotation in degrees. 0 - 90 is up, 91 - 180 is down, 255 is vertical. |
|
Indent: byte; |
Indent value. (in characters) |
|
Copyright (c) 2002-2008 TMS Software. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|