Skip to content

57872212 0d66 0be9 77b5 7cd49e72cb85

Fernando Garcia edited this page May 8, 2018 · 1 revision

NumericDataTypeModel.Negative Property

Additional header content

Gets or sets a reference that contains the negative number format.

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public NegativeModel Negative { get; set; }

VB

Public Property Negative As NegativeModel
	Get
	Set

Property Value

Type: NegativeModel
Negative number format.

Remarks

ITEE Object Element Usage

<Number ...>
  <Negative/>
  ...
</Number>
  • Or -

ITEE Object Element Usage

<Currency ...>
  <Negative/>
  ...
</Currency>

Compatibility table with native writers.

Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
X X X X
A X value indicates that the writer supports this element.

Examples

In the following example shows how create a new style with a currency data type. XML

<Style Name="AccountValue">
  <Content Color="Blue">
    <Currency Decimals="1" Locale="mk">
      <Negative Color="Red" Sign="Parenthesis">
    </Currency>
  </Content>
  <Font Size="8" Color="White"/>
</Style>

Another example for the number data type.

XML

<Style Name="AccountValue">
  <Content Color="Blue">
    <Number Decimals="1">
      <Negative Color="Red" Sign="Parenthesis">
    </Currency>
  </Content>
  <Font Size="8" Color="White"/>
</Style>

See Also

Reference

NumericDataTypeModel Class
iTin.Export.Model Namespace

Clone this wiki locally