Skip to content

4bbad029 fb5c 5cc4 8021 36d0c46888b8

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

OutputModel.Target Property

Additional header content

Gets or sets a value that determines target operating system.

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 KnownOutputTarget Target { get; set; }

VB

Public Property Target As KnownOutputTarget
	Get
	Set

Property Value

Type: KnownOutputTarget
One of the KnownOutputTarget values. The default is Windows.

Exceptions

 

Exception Condition
InvalidEnumArgumentException If specified value is outside the range of valid values.

Remarks

TEE Object Element Usage

<Output Target="Windows|DOS|MacOS">
  ...
</Output>

Compatibility table with native writers.

Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
X X X No has effect
A X value indicates that the writer supports this element.

Examples

The following example show how to use this element. XML

<?xml version="1.0" encoding="utf-8"?>

<Exports xmlns="http://schemas.iTin.com/export/engine/2013/configuration">
  <Export Name="Test" Current="Yes">
    <Description>Sample Export</Description>
    <Table Name="R740D01"
          AutoFilter="Yes"
          AutoFitColumns="Yes"
          Alias="Table alias">

      <Location>
        <ByCoordenates Coordenates="1 3"/>
      </Location>

      <Exporter>
        <Writer Name="CsvWriter"/>
        <Behaviors>
          <Download/>
        </Behaviors>
      </Exporter>

      <Output Target="Windows">
        <File>SampleExport</File>
        <Path>~\Samples\Output\Writers</Path>
      </Output>
      ...
      ...
    </Table>
  </Export>
</Exports>

See Also

Reference

OutputModel Class
iTin.Export.Model Namespace

Clone this wiki locally