FormattedTableDataGetMargin
Method
|
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 of the row. Use a valid column index and
pass the row index '-1' to get the margin of the column.
Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version:
26.9.0.0
Syntax
public virtual double GetMargin(
int row,
int column,
CellMargins margin
)
Public Overridable Function GetMargin (
row As Integer,
column As Integer,
margin As CellMargins
) As Double
public:
virtual double GetMargin(
int row,
int column,
CellMargins margin
)
abstract GetMargin :
row : int *
column : int *
margin : CellMargins -> float
override GetMargin :
row : int *
column : int *
margin : CellMargins -> float
Parameters
- row Int32
- [in] Row index of the cell.
- column Int32
- [in] Column index of the cell.
- margin CellMargins
- [in] Margin type.
Return Value
Double
Margin value.
Remarks
Margin type should
be one of following values: Name Value kCellMarginTop 0x01
kCellMarginLeft 0x02 kCellMarginBottom 0x04 kCellMarginRight 0x08
kCellMarginHorzSpacing 0x10 kCellMarginVertSpacing 0x20
See Also