TableGetEdgeDistanceΒΆ
TableGetEdgeDistance returns the distance between the text and the left cell edge.
- rmDistance = TableGetEdgeDistance(hTable, nDir)
- rmDistance = TableGetEdgeDistance(hTable, nDir, rvSel)
Return Value
rmDistance is the distance in centimeters.
Parameters
- hTable
The handle of a table object created with TableCreate.
- nDir
nDir specifies if the distance to the left or top edge is returned:
Element
Value
Description
TABLE_DISTANCE_HORZ
1
Distance to the left edge
TABLE_DISTANCE_VERT
2
Distance to the top edge
- 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-184475