StyleSetCustom Method

Sets the Custom number format string of a cell.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.6.0.0 (20.6)
Syntax
public void SetCustom(
	string custom,
	bool builtinPreference
)

Parameters

custom
Type: SystemString
_Custom number format string, should be InvariantCulture pattern.
builtinPreference
Type: SystemBoolean
If given Custom number format string matches one of the built-in number formats corresponding to current regional settings, whether set the number format as built-in instead of _Custom.
See Also