TableGetBorderPenIndexΒΆ

TableGetBorderPenIndex

rmPenIndex = TableGetBorderPenIndex(hTable, bHorz)
rmPenIndex = TableGetBorderPenIndex(hTable, bHorz, svSel)

Return Value

rmPenIndex is a matrix with pen indices which will be used to draw the horizontal and vertical border lines. If bHorz is TRUE (1) the matrix must have one row more than the table or the selection specified in rvSel. If bHorz is FALSE (0) the matrix must have one column more than the table or the selection specified in rvSel. If the cell value is 0 no border line is drawn.

Parameters

hTable

Identifies the table object.

bHorz

If bHorz is TRUE (1) the pens for the horizontal lines are set. If bHorz is FALSE (0) the pens for the vertical lines are set.

rvSel

rvSel is a vector with four elements specifying a range of rows and columns:

Element Description
rvSel[1] Left column of selection
rvSel[2] Top row of selection
rvSel[3] Right column of selection
rvSel[4] Bottom row of selection

The column and row numbering starts with 1. Left is smaller than right and top is smaller than bottom.

id-3725