Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.Table.SetBorderWidth
Sets or changes the border width.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.Table.SetBorderWidth"; Table; Row; Col; Left; Right; Top; Bottom ) More
Parameters
Parameter | Description | Example |
---|---|---|
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 |
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.The properties can be set to the table, rows, columns, and cells as follows:
Row | Col | Applies to |
-1 | -1 | Table |
-1 | >=0 | Column |
>=0 | -1 | Row |
>=0 | >=0 | Cell |
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.
Examples
Set border width to 1 point:
MBS("DynaPDF.Table.SetBorderWidth"; $table; -1; -1; 1; 1; 1; 1)
See also
- DynaPDF.SetAnnotBorderWidth
- DynaPDF.Table.Create
- DynaPDF.Table.Draw
- DynaPDF.Table.GetNumCols
- DynaPDF.Table.GetNumRows
- DynaPDF.Table.GetTableWidth
- DynaPDF.Table.SetBoxProperty
- DynaPDF.Table.SetColWidth
- DynaPDF.Table.SetGridWidth
- DynaPDF.Table.SetRowHeight
Example Databases
- DynaPDF/Book Creation
- DynaPDF/Catalog with tables
- DynaPDF/Invoice/Invoice
- DynaPDF/Merge PDFs
- DynaPDF/Report
- DynaPDF/Tables
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014