Skip to content

a3ace8fc 3cde b123 4b02 227ecffc77c8

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

TemplateWriterModel.Settings Property

Additional header content

Gets or sets a reference to the settings defined for this writer.

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 TemplateWriterSettingsModel Settings { get; set; }

VB

Public Property Settings As TemplateWriterSettingsModel
	Get
	Set

Property Value

Type: TemplateWriterSettingsModel
Reference to the settings defined for this writer.

Remarks

ITEE Object Element Usage

<Writer>
  <Settings/>
<Writer/>

Examples

The following example shows 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">
      <Exporter>
        <Template>
          <File>~\Samples\Input\Doc Templates\DocxSampleTemplate.docx</File>
          <Writer Name="DocxFreeTemplateWriter">
            <Settings FieldPrefix="@@" TrimFields="Yes"/>
          </Writer>
        </Template>
        <Behaviors>
          <Download/>
        </Behaviors>
      </Exporter>
      <Output>
        <File>SampleTemplate</File>
        <Path>~\Samples\Output\Templates</Path>
      </Output>
    </Table>
  </Export>
</Exports>

See Also

Reference

TemplateWriterModel Class
iTin.Export.Model Namespace

Clone this wiki locally