Step Property

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:23

Description

Tabulation rows height step in millipoints. The height of the rows is rounded to a multiple of this value, if the value is zero no rounding occurs.

Syntax

object.Step(iRowType) [ =mValue ]

object

Required. Object name, returned by Text.GetNewTable or Text.GetCurTable.

iRowType

0 = Odd (defrow 0), 1 = First (defrow -2), 2 = Last (defrow -3), 3 = Even (defrow -1).

Please note that if you want to set the same values for entire table, use iRowType = 0, that corresponds to odd rows, but if it's only specified, than it sets all row types.

mValue

Value of rounding.

Example

This script creates a new table with 4 columns and 8 rows. and the rounding value of 2000, which means the row height must be an even number:

Dim objNewTable = Text.GetNewTable

objNewTable.NColumns = 4

objNewTable.NRows = 8

objNewTable.Step(0) = 2000

objNewTable.Step(1) = 2000

objNewTable.Step(2) = 2000

objNewTable.Step(3) = 2000

Text.InsTable (objNewTable)