Skip to content

66ffdea2 01bf 5e72 5880 6ae3681f9145

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

CommentModel Class

Additional header content

Represents a comment. Includes comment text, format, including font face, size, and style attributes.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(CommentModel)
    iTin.Export.Model.CommentModel
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

[SerializableAttribute]
public class CommentModel : BaseModel<CommentModel>, 
	ICloneable

VB

<SerializableAttribute>
Public Class CommentModel
	Inherits BaseModel(Of CommentModel)
	Implements ICloneable

The CommentModel type exposes the following members.

Constructors

 

Name Description
Public method CommentModel Initializes a new instance of the CommentModel class.
  Back to Top

Properties

 

Name Description
Public property Font Gets or sets the font model.
Public property IsDefault Gets a value indicating whether this instance is default. (Overrides BaseModel.IsDefault.)
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
Public property Show Gets or sets a value indicating whether displays a comment that contains the original value of the field.
Public property Text Gets or sets the comment text.
  Back to Top

Methods

 

Name Description
Public method Clone Clones this instance.
Public method Combine Combines this instance with reference parameter.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetStaticBindingValue Gets the static binding value by reflection. (Inherited from BaseModel(T).)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SaveToFile(String) Saves to file. (Inherited from BaseModel(T).)
Public method SaveToFile(String, Exception) Serializes current BaseModel object into file (Inherited from BaseModel(T).)
Public method Serialize Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).)
Public method ToString Returns a string that represents the current object. (Inherited from BaseModel(T).)
  Back to Top

Remarks

ITEE Object Element Usage

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

Attributes

Attribute Optional Description
Show Yes Determines whether displays a comment that contains the original value of the field. The default is Yes.
Elements  
Element Description
Font Represents a font. Defines a particular format for text, including font face, size, and style attributes.
Text Represents comment text.
  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.

See Also

Reference

iTin.Export.Model Namespace

Clone this wiki locally