IExportSettings Interface |
Namespace: Vovin.CmcLibNet.Export
The IExportSettings type exposes the following members.
| Name | Description | |
|---|---|---|
| Canonical |
Return data in a canonical format. Default is false.
| |
| CSSFile |
External CSS file to be linked with an HTML export. Location is the output path.
Only applies to HTML exports. Default is empty (no CSSFile).
| |
| CustomHeaders |
Use custom columnheaders.
| |
| CustomRootNode | ||
| DeleteExcelFileBeforeExport | Obsolete.
Delete and recreate Excel file when exporting. Only applies to Excel. Default is true.
| |
| ExportFormat |
Data format the export engine should generate. Default is Xml.
| |
| HeaderMode | ||
| HeadersOnFirstRow | ||
| IncludeConnectionInfo |
Include additional connection information. Only applies to Json. Default is true.
| |
| ISO8601Format |
Make dates return in ISO8601 format.
| |
| MaxFieldSize |
Maximum number of characters to retrieve from fields. This includes connected fields.
The default is ~500.000, skabout five times the Commence default.
| |
| NestConnectedItems |
Only applies to Json. Splits connection information into distinct elements/nodes.
| |
| NumRows |
Specify the number of rows to export at a time. Default is 1024.
| |
| PreserveAllConnections |
Include all connected items.
Supported only for Xml, Json, Excel
Overrides Canonical, ISO8601Format, SkipConnectedItems,
SplitConnectedItems, ExcelUpdateOptions.
| |
| ReadCommenceDataAsync |
Read Commence data in an asynchronous way. Async can be slightly faster, but it depends on a number of things,
such as NumRows and MaxFieldSize.
When you export to Excel or use PreserveAllConnections there is a performance gain. Default is true. | |
| RemoveCurrencySymbol |
Used in conjunction with Canonical,
allows removal of the currency symbol that Commence will include when numeric fields were set to 'Display as currency'
Default is false.
| |
| SkipConnectedItems |
Ignore connected items.
| |
| SplitConnectedItems | ||
| TextDelimiter | ||
| TextDelimiterConnections | ||
| TextQualifier | ||
| UseDDE |
Make Commence use DDE calls to retrieve data. WARNING: extremely slow!
| |
| UseThids |
Include additional column holding the item's THID and return THIDs instead of Name field values for connected items. (XML and Json). For text-based exports, connected items are not returned as thids. Default is false.
| |
| WriteSchema |
Get serialized XML with a XmlSchema (XSD).
Only applies to PreserveAllConnections in combination with Xml.
Default is false.
| |
| XlUpdateOptions |
Update options when exporting to Microsoft Excel. See ExcelUpdateOptions.
|
You should NOT create code that relies on the settings you provided. For example: if you set both MaxFieldSize and NumRows to a huge number, the assembly will balance them out so as to prevent out-of-memory exceptions.