Class GeneralFormat
Represents a GeneralFormat.
Inherited Members
Namespace: DRIT.Document.Office
Assembly: DRIT.Document.dll
Syntax
public class GeneralFormat : Format
Constructors
GeneralFormat()
Initializes a new instance of the GeneralFormat class.
Declaration
public GeneralFormat()
GeneralFormat(string)
Initializes a new instance of the GeneralFormat class.
Declaration
public GeneralFormat(string code)
Parameters
| Type | Name | Description |
|---|---|---|
| string | code | The code used by the operation. |
Properties
Category
Gets category.
Declaration
public override FormatCategory Category { get; }
Property Value
| Type | Description |
|---|---|
| FormatCategory |
Overrides
Methods
CanFormat(object)
Describes the general Format configuration.
Declaration
public override bool CanFormat(object o)
Parameters
| Type | Name | Description |
|---|---|---|
| object | o | The o used by the operation. |
Returns
| Type | Description |
|---|---|
| bool | The resulting value. |
Overrides
GetFormattedValue(object, int)
Returns the requested formatted Value.
Declaration
public object GetFormattedValue(object value, int maxCount)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value | The value to use for the operation. |
| int | maxCount | The max Count used by the operation. |
Returns
| Type | Description |
|---|---|
| object | The resulting value. |