Class NumberFormat
Represents the number format class used by the spreadsheet model.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class NumberFormat : Format
Constructors
NumberFormat(string)
Initializes a new NumberFormat for the supplied workbook data.
Declaration
public NumberFormat(string code)
Parameters
| Type | Name | Description |
|---|---|---|
| string | code |
Properties
Category
Exposes the category associated with NumberFormat.
Declaration
public override FormatCategory Category { get; }
Property Value
| Type | Description |
|---|---|
| FormatCategory | The category returned by the operation. |
Overrides
Methods
CanFormat(object)
Indicates whether the can format condition is true for NumberFormat.
Declaration
public override bool CanFormat(object o)
Parameters
| Type | Name | Description |
|---|---|---|
| object | o | The o used by the operation. |
Returns
| Type | Description |
|---|---|
| bool | The can format returned by the operation. |
Overrides
DecreaseDecimal()
Exposes the decrease decimal associated with NumberFormat.
Declaration
public virtual Format DecreaseDecimal()
Returns
| Type | Description |
|---|---|
| Format | The decrease decimal returned by the operation. |
IncreaseDecimal()
Exposes the increase decimal associated with NumberFormat.
Declaration
public virtual Format IncreaseDecimal()
Returns
| Type | Description |
|---|---|
| Format | The increase decimal returned by the operation. |