Class GeneralFormat
Represents the general format class used by the spreadsheet model.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class GeneralFormat : Format
Constructors
GeneralFormat()
Initializes a new GeneralFormat for the supplied workbook data.
Declaration
public GeneralFormat()
GeneralFormat(string)
Initializes a new GeneralFormat for the supplied workbook data.
Declaration
public GeneralFormat(string code)
Parameters
| Type | Name | Description |
|---|---|---|
| string | code |
Properties
Category
Exposes the category associated with GeneralFormat.
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 GeneralFormat.
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
GetFormattedValue(object, int)
Retrieves the requested formatted value from GeneralFormat.
Declaration
public object GetFormattedValue(object value, int maxCount)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value | The value used by the operation. |
| int | maxCount | The max count used by the operation. |
Returns
| Type | Description |
|---|---|
| object | The get formatted value returned by the operation. |