TableSetEdgeDistanceΒΆ
TableSetEdgeDistance sets the distance between the text and the cell edge.
-
bool = TableSetEdgeDistance(hTable, nDir, rmDist)
-
bool = TableSetEdgeDistance(hTable, nDir, rmDist, rvSel)
Return Value
If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).
Parameters
-
hTable
The handle of a table object created with TableCreate.
-
nDir
nDir specifies if the distance to the left or top edge is set:
Element Value Description TABLE_DISTANCE_HORZ 1 Distance to the left edge TABLE_DISTANCE_VERT 2 Distance to the top edge
-
rmDist
rmDist is a Matrix with the distance in centimeters.
-
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.
See also
id-1065323