• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class GeneralFormat

Represents the general format class used by the spreadsheet model.

Inheritance
object
Format
GeneralFormat
Inherited Members
Format._code
Format.Parse(string)
Format.GetHashCode()
Format.Equals(object)
Format.GetColor(object)
Format.Code
Format.FormatCode
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
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
Format.Category

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
Format.CanFormat(object)

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.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX