414cde2b bdd9 347e 5753 c2fe9b5d3327 - iAJTin/iExportEngine GitHub Wiki
Additional header content
Contains a collection of user-defined styles. Each element includes definition for a font type, type of content, such as the background color, the alignment type and the data type.
System.Object
iTin.Export.Model.BaseModel(BaseSimpleModelCollection(ImageModel, GlobalResourcesModel))
iTin.Export.Model.BaseSimpleModelCollection(ImageModel, GlobalResourcesModel)
iTin.Export.Model.BaseComplexModelCollection(ImageModel, GlobalResourcesModel, String)
iTin.Export.Model.ImagesModel
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 ImagesModel : BaseComplexModelCollection<ImageModel, GlobalResourcesModel, string>VB
<SerializableAttribute>
Public Class ImagesModel
Inherits BaseComplexModelCollection(Of ImageModel, GlobalResourcesModel, String)The ImagesModel type exposes the following members.
| Name | Description | |
|---|---|---|
![]() |
ImagesModel | Initializes a new instance of the ImagesModel class |
| Name | Description | |
|---|---|---|
![]() |
Count | Gets the number of elements contained in the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
IsDefault | When overridden in a derived class, gets a value indicating whether this instance contains the default. (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
IsReadOnly | Gets a value indicating whether the BaseSimpleModelCollection(TItem, TParent) is read-only. (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
Item(TSearch) | Gets or sets the element specified by value. (Inherited from BaseComplexModelCollection(TItem, TParent, TSearch).) |
![]() |
Item(Int32) | Gets or sets the element at the specified index. (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
List | Gets a reference to the inner list. (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
Parent | Gets a reference to the owner of the collection (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
Properties | Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).) |
| Name | Description | |
|---|---|---|
![]() |
Add | Adds an object to the end of the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
Clear | Removes all elements from the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
Contains(TSearch) | Determines whether an element is in the BaseComplexModelCollection(TItem, TParent, TSearch). (Inherited from BaseComplexModelCollection(TItem, TParent, TSearch).) |
![]() |
Contains(TItem) | Determines whether an element is in the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
CopyTo | Copies the entire BaseSimpleModelCollection(TItem, TParent) to a compatible one-dimensional array, starting at the specified index of the target array. (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
Find | Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
GetBy |
(Overrides BaseComplexModelCollection(TItem, TParent, TSearch).GetBy(TSearch).) |
![]() |
GetEnumerator | Returns an enumerator that iterates through the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetStaticBindingValue | Gets the static binding value by reflection. (Inherited from BaseModel(T).) |
![]() |
GetType | (Inherited from Object.) |
![]() |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
Insert | Inserts an item to the BaseSimpleModelCollection(TItem, TParent) at the specified index. (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Remove | Removes the first occurrence of a specific object from the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
RemoveAt | Removes the element at the specified index of the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).) |
![]() |
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).) |
![]() |
SetOwner |
(Overrides BaseSimpleModelCollection(TItem, TParent).SetOwner(TItem).) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from BaseModel(T).) |
Belongs to: Global.Resources. For more information, please see GlobalResourcesModel.
ITEE Object Element Usage
<Images>
<Image .../>
<Image .../>
...
</Images>Elements
| Element | Description |
|---|---|
| Items | Collection of styles. Each element includes definition for a font type, type of content, such as the background color, the alignment type and the data type. |
| Comma-Separated Values CsvWriter |
Tab-Separated Values TsvWriter |
SQL Script SqlScriptWriter |
XML Spreadsheet 2003 Spreadsheet2003TabularWriter |
|---|---|---|---|
| X | X | X | X |
X value indicates that the writer supports this element.
In the following example shows how to add various styles to the list of styles.
XML
<?xml version="1.0" encoding="utf-8"?>
<Exports xmlns="http://schemas.iTin.com/export/engine/2013/configuration">
<Global.Resources>
<Images>
<Image Key="logo">
<Path>~\Samples\Configuration\Logos\ImageLogo.jpg</Path>
<Effects>
<Dark/>
<Opacity percent="30"/>
</Effects>
</Image>
</Images>
</Global.Resources>
<Export Name="Test" Current="Yes">
<Description><Sample Export</Description>
<Table Name="R740D01"
AutoFilter="Yes"
ShowGridLines="No"
AutoFitColumns="Yes"
Alias="Table alias">
<Location>
<ByCoordenates Coordenates="1 3"/>
</Location>
<Logo>
<Location>
<ByCoordenates/>
</Location>
<Image ResourceId="logo"/>
</Logo>
<Exporter>
<Writer Name="XlsxTabularWriter"/>
<Behaviors>
<Download/>
</Behaviors>
</Exporter>
<Styles>
<Style Name="CommonHeader">
<Content Color="#C9C9C9">
<Alignment Horizontal="Center" Vertical="Center"/>
<Text/>
</Content>
<Font Size="10" Color="Navy" Bold="Yes"/>
</Style>
<Style Name="TopAggregate">
<Content Color="#C9C9C9">
<Alignment Horizontal="Center"/>
<Number Decimals="0" Separator="Yes"/>
<Negative Color="Yellow" Sign="Brackets"/>
</Number>
</Content>
<Font Size="10" Color="Navy" Bold="Yes"/>
</Style>
<Style Name="AccountAggregate">
<Content Color="Beige">
<Alignment Vertical="Bottom" Horizontal="Right"/>
<Currency Locale="mk">
<Negative Color="Red" Sign="Parenthesis"/>
</Currency>
</Content>
<Font Name="Arial" Size="12" Color="#C9C9C9" Bold="Yes" Italic="Yes" Underline="Yes"/>
</Style>
<Style Name="NameAggregate">
<Content Color="Beige">
<Alignment Vertical="Top" Horizontal ="Center"/>
<Currency Locale="mk">
<Negative Color="Red" Sign="Parenthesis"/>
</Currency>
</Content>
<Font Name="Arial" Size="26" Color="#C9C9C9" Bold="No" Italic="Yes" Underline="No"/>
</Style>
</Styles>
...
...
</Table>
</Export>
</Exports>


