Sets the margin to the cell, row or column. Use a valid row index and pass the column index '-1' to set the margin for the row. Use a valid column index and pass the row index '-1' to set the margin for the column.
Parameters
Parameters
Description
nRow
[in] Row index.
nCol
[in] Column index.
nMargins
[in] Margin type.
fMargin
[in] Margin value.
Remarks
Margin type should be a combination of the following values: