9169ba51 2f2d 0b19 403d e4673fa0563e - iAJTin/iExportEngine GitHub Wiki
Additional header content
Represents margins of a document. Allow define top margin, right margin, bottom margin and left margin of a document. All margins are measured in mm.
System.Object
iTin.Export.Model.BaseModel(MarginsModel)
iTin.Export.Model.MarginsModel
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[SerializableAttribute]
public class MarginsModel : BaseModel<MarginsModel>VB
<SerializableAttribute>
Public Class MarginsModel
Inherits BaseModel(Of MarginsModel)The MarginsModel type exposes the following members.
| Name | Description | |
|---|---|---|
![]() |
MarginsModel | Initializes a new instance of the MarginsModel class. |
| Name | Description | |
|---|---|---|
![]()
|
Bottom | Gets or sets the preferred bottom margin of document. |
![]()
|
Default | Gets default Margins. |
![]() |
IsDefault | Gets a value indicating whether this instance is default. (Overrides BaseModel.IsDefault.) |
![]()
|
Left | Gets or sets the preferred left margin of document. |
![]() |
Properties | Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).) |
![]()
|
Right | Gets or sets the preferred right margin of document. |
![]()
|
Top | Gets or sets the preferred top margin of document. |
![]() |
Units | Gets or sets the preferred units of margins. |
| Name | Description | |
|---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetStaticBindingValue | Gets the static binding value by reflection. (Inherited from BaseModel(T).) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
SaveToFile(String) | Saves to file. (Inherited from BaseModel(T).) |
![]() |
SaveToFile(String, Exception) | Serializes current BaseModel object into file (Inherited from BaseModel(T).) |
![]() |
Serialize | Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from BaseModel(T).) |
ITEE Object Element Usage
<Margins .../>Attributes
| Attribute | Optional | Description |
|---|---|---|
| Units | Yes | Preferred units of margins. The default is Inches. |
| Top | Yes | Preferred top margin of document measured in mm. The default is "20". |
| Right | Yes | Preferred right margin of document measured in mm. The default is "20". |
| Bottom | Yes | Preferred bottom margin of document measured in mm. The default is "20". |
| Left | Yes | Preferred left margin of document measured in mm. The default is "20". |
| 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 |
X value indicates that the writer supports this element.


