Method Include
Include(int, string, DocumentId, out List<string>, out List<DocumentId>)
Imports a file with conversion into an existing document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
List<DocumentId> Include(int inImporterIx, string inFullName, DocumentId inDocumentId, out List<string> outLog, out List<DocumentId> outBadDocumentIds)
Parameters
| Type | Name | Description |
|---|---|---|
| int | inImporterIx | Index of importer to use, within [0, ImporterCount-1]. |
| string | inFullName | Full name of the file to import. |
| DocumentId | inDocumentId | Document where data are to be stored. |
| List<string> | outLog | List of string describing the result. |
| List<DocumentId> | outBadDocumentIds | Identifiers of documents containing bad geometry. |
Returns
| Type | Description |
|---|---|
| List<DocumentId> | Imported documents, including the specified document. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.6.