Description
Margins of the tabulation cells in millipoints. It handles all four margins. See HasAdvance Method.
Syntax
object.Advance (iIndex) [ =mValue ] |
object
Required. Object name, returned by Text.GetTableCell.
iIndex
0=top, 1=bottom, 2=left, 3=right.
mValue
Value of margin.
Example
This script sets top margin of 2pt, bottom margin of 3pt, left margin of 4pt, right margin 5pt.
Dim objTableCell = Text.GetTableCell
objTableCell.Advance(0) = 2000
objTableCell.Advance(1) = 3000
objTableCell.Advance(2) = 4000
objTableCell.Advance(3) = 5000
Text.SetTableCell (objTableCell)
See also
Advance on the table level.