IDtExcelConsumer

Assembly: Dt;

Namespace: Prognoz.Platform.Interop.Dt;

Description

The IDtExcelConsumer interface contains properties and methods of the Export to Excel (97-2003) data consumer.

Inheritance Hierarchy

          IDtObject

          IDtConsumer

          IDtBulkConsumer

          IDtExcelConsumer

Comments

For exported data, determine new sheet because existing list cannot be cleared.

IMPORTANT. The file the user is working with, should be closed and should not be used by other applications.

Properties

  Property name Brief description
The DriverVersion property determines version of the driver used to work with the file.
The File property determines the path and the name of the file, in which the data is exported.
The HasHeader property determines whether file with fields header list is loaded into the first row.
The ImexMode property determines the mode, in which the columns, that contain data of different types, are exported.
The Table property determines the name of the Excel file sheet, to which data is exported.

Properties inherited from IDtConsumer

  Property name Brief description
The CalcFieldsErrors property returns a collection of errors appeared on calculated fields calculation.

Properties Inherited from IDtObject

  Property name Brief description
The Active property returns data source or data consumer state.
The Fields property returns data provider/data consumer fields description.
The GetType property returns data provider/data consumer type.
The Metabase property determines the repository, in which data is imported or exported.

Methods Inherited from IDtBulkConsumer

  Method name Brief description
The PutBulk method exports specified data packet in data consumer.

Methods Inherited from IDtConsumer

  Method name Brief description
The Clear method clears a data consumer.
The Put method records values array into the data consumer.
The PutRow method loads values row into the data consumer.
The PutProvider method exports all the values of the specified data provider into the data consumer.
The WritingRowsCount method returns the number of records written to the data consumer.

Methods Inherited from IDtObject

  Method name Brief description
The ClearFields method clears fields list of the data provider or data consumer.
The Close method closes data provider or data consumer.
The FieldsFromFile method reads fields list from the source file.
The Load method loads data source or data consumer parameters from XML.
The Open method opens data provider or data consumer.
The Save method saves data source or data consumer parameters in XML format.

See also:

Dt Assembly Interfaces