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

Class NumberFormat

Represents the number format class used by the spreadsheet model.

Inheritance
object
Format
NumberFormat
CurrencyFormat
PercentFormat
ScientificFormat
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 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
Format.Category

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

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.

Back to top

DR-IT Software documentation

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

Generated by DocFX