xls_SET FORMAT PROPERTY

xls_SET FORMAT PROPERTY(reference;sheet;row;column;alignment;rotation;properties;borderlineTop;borderlineTopColor;borderlineLeft;borderlineLeftColor;borderlineRight;borderlineRightColor;borderlineBottom;borderlineBottomColor;pattern;patternColor;patternBackColor)

Parameter          Type             Description
reference          Longint      ->  Excel handle
sheet              Longint      ->  Sheet number
row                Longint      ->  Row number
column             Longint      ->  Column number
alignment          Longint      ->  Alignment
rotation           Longint      ->  Rotation
properties         Longint      ->  Properties
borderlineTop      Longint      ->  Borderline top
borderlineTopColor Longint      ->  Borderline top color
borderlineLeft     Longint      ->  Borderline left
borderlineLeftColor Longint     ->  Borderline left color
borderlineRight    Longint      ->  Borderline right
borderlineRightColor Longint    ->  Borderline right color
borderlineBottom   Longint      ->  Borderline bottom
borderlineBottomColor Longint   ->  Borderline bottom color
pattern            Longint      ->  Pattern
patternColor       Longint      ->  Pattern color
patternBackColor   Longint      ->  Pattern background color

Description

The command xls_SET FORMAT PROPERTY sets format properties of a cell.

alignment:
You can combine horizontal and vertical values together

rotation: rotation angle in degrees

properties: text properties: constants: XLS Text Shrink, XLS Text Default, XLS Text Left to Right and XLS Text Right to Left

Borderlines: use the following constants:

Borderline colors are indexed colors:



Patterns: use the following constants: