The number of pixels between a cell's edge and it's contents.
Usage
Set_Property(OLECtrlEntID, "OLE.CellPadding[field; record]", Array)
Values
Array has the following structure:
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Left Padding | Integer | The number of pixels between the cell's left edge and its contents | 2 |
<2> | Top Padding | Integer | The number of pixels between the cell's top edge and its contents | 1 |
<3> | Right Padding | Integer | The number of pixels between the cell's right edge and its contents | 3 |
<4> | Bottom Padding | Integer | The number of pixels between the cell's bottom edge and its contents | 1 |
<5> | Image Padding | Integer | The number of pixels between the cell's image and its text | 3 |
Indices
Index | Description |
---|---|
field | Index to an existing field |
record | Index to an existing record |
Remarks
The CellPadding property establishes the number of pixels between a cell's edge and its contents. This allows you to further align the contents to some other point than a cell's edge. You can also establish the distance between the cell's image and its text.
A cell's contents are clipped to according the padding, not the cell bounds.