Skip to content

32a0b3f2 029a 8209 d08c 09ee4674c554

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

NumericDataTypeModel.Error Property

Additional header content

Gets or sets a reference that contains numeric data type error settings.

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 NumericErrorModel Error { get; set; }

VB

Public Property Error As NumericErrorModel
	Get
	Set

Property Value

Type: NumericErrorModel
Numeric data type error settings

Remarks

ITEE Object Element Usage

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

ITEE Object Element Usage

<Currency ...>
  <Error/>
  ...
</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">
      <Error Value="-1000">
        <Comment Show="Yes">
          <Text>Database value: </Text>
          <Font Size="12" Color="Navy"/>
        </Comment>
      </Error>
    </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">
      <Error Value="99">
        <Comment Show="Yes">
          <Text>Wrong value: </Text>
        </Comment>
      </Error>
    </Currency>
  </Content>
  <Font Size="8" Color="White"/>
</Style>

See Also

Reference

NumericDataTypeModel Class
iTin.Export.Model Namespace

Clone this wiki locally