Skip to content

5614c6ff 0ff4 9d99 5718 d3f57b1727bc

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

BaseErrorModel.Comment Property

Additional header content

Gets or sets a reference that contains the error comment.

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 CommentModel Comment { get; set; }

VB

Public Property Comment As CommentModel
	Get
	Set

Property Value

Type: CommentModel
The error comment.

Remarks

ITEE Object Element Usage

<Comment>
  <Text/>
  <Font/>
</Comment>

Compatibility table with native writers.

Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
No has effect No has effect No has effect 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

BaseErrorModel Class
iTin.Export.Model Namespace

Clone this wiki locally