Method ImportDocumentToFile
ImportDocumentToFile(byte[], PrivacyLevel, FileId)
Add to or create a new file area document in a specific file. Will choose a fitting document if possible or create a new one otherwise.
Task<DocumentId> ImportDocumentToFile(byte[] data, PrivacyLevel minPrivacyLevel, FileId targetFileId)
Parameters
databyte[]document data as bytearray.
minPrivacyLevelPrivacyLevelThe minimum privacy level to be considered while looking for a fitting document to import to.
targetFileIdFileIdthe target fileId.
Returns
- Task<DocumentId>
DocumentId.