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

Class NumberFormat

Represents a NumberFormat.

Inheritance
object
Format
NumberFormat
CurrencyFormat
PercentFormat
ScientificFormat
Inherited Members
Format.Parse(string)
Format._code
Format.Code
Format.GetHashCode()
Format.Equals(object)
Format.GetColor(object)
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document.Office
Assembly: DRIT.Document.dll
Syntax
public class NumberFormat : Format

Constructors

NumberFormat(string)

Initializes a new instance of the NumberFormat class.

Declaration
public NumberFormat(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
Format.Category

Methods

CanFormat(object)

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

DecreaseDecimal()

Describes the number Format configuration.

Declaration
public virtual Format DecreaseDecimal()
Returns
Type Description
Format

The resulting value.

IncreaseDecimal()

Describes the number Format configuration.

Declaration
public virtual Format IncreaseDecimal()
Returns
Type Description
Format

The resulting value.

Back to top

DR-IT Software documentation

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

Generated by DocFX