Returns the margin of the cell, row or column as a double value. Use a valid row index and pass the column index '-1' to get the margin for the row. Use a valid column index and pass the row index '-1' to get the margin for the column.
Parameters
Parameters
Description
row
[in] Row index.
col
[in] Column index.
nMargin
[in] Margin type.
Returns
Margin value.
Remarks
Margin type should be one of the following values: