Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

DynaPDF.Table.SetBoxProperty

Sets or changes the border width, cell spacing, or cell padding.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.5 Yes Yes Yes Yes Yes

MBS( "DynaPDF.Table.SetBoxProperty"; Table; Row; Col; Type; Left; Right; Top; Bottom )

Parameters

Parameter Description Example value
Table The identifier for the table. $Table
Row The row number. Range from 0 to DynaPDF.Table.GetNumRows-1. Pass -1 for all rows. 0
Col The column number. Range from 0 to DynaPDF.Table.GetNumCols-1. Pass -1 for all columns. 0
Type Can be BorderWidth, CellSpacing or CellPadding. "CellPadding"
Left Value for the left side. 0
Right Value for the right side. 0
Top Value for the top side. 0
Bottom Value for the bottom side. 0

Result

Returns OK or error.

Description

Sets or changes the border width, cell spacing, or cell padding.
The properties can be set to the table, rows, columns, and cells as follows:
RowColApplies to
-1-1Table
-1>=0Column
>=0-1Row
>=0>=0Cell
Cell padding and cell spacing are inherited from the table, columns, and rows, in this order.
The border with is inherited from columns and rows (in this order), but not from the table since the table has its own border.
Individual values can be set to each side of a cell. Note that the properties will be not be rotated with a cell. The left side is always left, independent of the cell orientation.

See also


DynaPDF.Table.SetBorderWidth   -   DynaPDF.Table.SetCellImage

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins