TX Text Control .NET Server

Javascript: LoadDocumentCallbackData.bytesRead Property

Property

Description

The number of bytes read during the load operation.

Syntax

<number> LoadDocumentCallbackData.bytesRead

Examples

The following example demonstrates LoadDocumentCallbackData.bytesRead in a practical document-editing workflow. The number of bytes read during the load operation.

function inspectBytesRead(loadDocumentCallbackData) {
    const bytesRead = loadDocumentCallbackData.bytesRead;
    console.log("bytes read:", bytesRead);
}