Skip to content

cb1f080f e6e1 45a5 72bd e440f7b42617

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

CoordenatesModel.Coordenates Property

Additional header content

Gets or sets an array of integers that represent a point expressed in cartesian coordenates.

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 int[] Coordenates { get; set; }

VB

Public Property Coordenates As Integer()
	Get
	Set

Property Value

Type: Int32[]
An array of two positions of Int32, that represent the table location. The default is '1 1'.

Remarks

TEE Object Element Usage

<ByCoordenates Coordenates="int int" ...>
  ...
</ByCoordenates>

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

The following example show how to use this element. XML

<ByCoordenates Coordenates="2 2">
...
</ByCoordenates>

C#

...
CoordenatesModel coordenatesLocation = new CoordenatesModel 
                                           {
                                               Coordenates = new { 2, 2 } 
                                           };
TableModel table = new TableModel 
                       {
                           Name = "Sample name",
                           Alias = "Sample alias",
                           AutoFilter = YesNo.Yes,
                           Location = coordenatesLocation,
                           AutoFitColumns = YesNo.Yes,
                       } ;
 ...

See Also

Reference

CoordenatesModel Class
iTin.Export.Model Namespace

Clone this wiki locally