Javascript: DocumentSettings.embeddedFiles Property
Description
Gets a collection of all files embedded in the document.
Syntax
<EmbeddedFileCollection> DocumentSettings.embeddedFilesExamples
The following example demonstrates DocumentSettings.embeddedFiles in a practical document-editing workflow. It gets a collection of all files embedded in the document.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
TXTextControl.documentSettings.embeddedFiles.getCount(function(count) {
console.log("embedded files count:", count);
}, onTxError);Limitations
Read Only.