Skip to content

71e106d1 8d5a 0acb 64b2 8f455c2396da

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

DocumentModel Class

Additional header content

Includes the description of export table.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(DocumentModel)
    iTin.Export.Model.DocumentModel
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 DocumentModel : BaseModel<DocumentModel>

VB

<SerializableAttribute>
Public Class DocumentModel
	Inherits BaseModel(Of DocumentModel)

The DocumentModel type exposes the following members.

Constructors

 

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

Properties

 

Name Description
Public property Footer Gets or sets a reference to footer document configuration, it allow define margin and data.
Public property Header Gets or sets a reference to header document configuration, it allow define margin and data.
Public property IsDefault Gets a value indicating whether this instance contains the default. (Overrides BaseModel.IsDefault.)
Public property Margins Gets or sets a reference to configuration of margins, it allow define top margin, right margin, bottom margin and left margin of a document.
Public propertyCode example Orientation Gets or sets the preferred orientation of document.
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
Public propertyCode example Size Gets or sets the preferred size of document.
  Back to Top

Methods

 

Name Description
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 data type. (Overrides BaseModel(T).ToString().)
  Back to Top

Remarks

Belongs to: Host. For more information, please see HostModel.
ITEE Object Element Usage

 <Document ...>
  <Header/>
  <Footer/>
  <Margins/>
</Document>

Attributes

Attribute Optional Description
Size Yes Preferred size of document. The default is A4.
Orientation Yes Preferred orientation of document. The default is Portrait.
Elements  
Element Description
Header Represents header properties of a document. Allow define margin and data.
Footer Represents footer properties of a document. Allow define margin and data.
Margins Represents margins of a document. Allow define top margin, right margin, bottom margin and left margin of a document.
  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