Cell.GetStyle

GetStyle()

Gets the cell style.

public Style GetStyle()

Return Value

Style object.

Remarks

To change the style of the cell, please call Cell.SetStyle() method after modifying the returned style object. This method is same with GetStyle with true value for the parameter.

See Also


GetStyle(bool)

If checkBorders is true, check whether other cells’ borders will effect the style of this cell.

public Style GetStyle(bool checkBorders)
ParameterTypeDescription
checkBordersBooleanCheck other cells’ borders

Return Value

Style object.

See Also