# LoadDocumentCallbackData Object

> The type of the result parameter of the LoadDocumentCallback callback function.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Path:** DS Server > Reference > JavaScript API > LoadDocumentCallbackData Object
- **957 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/llms-full.txt

---

### Description

The type of the result parameter of the [LoadDocumentCallback](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallback/llms-full.txt) callback function.

### Syntax

```javascript
{
   author: <string>,
   bytesRead: <number>,
   creationDate: <number>,
   creatorApplication: <string>,
   cssFileName: <string>,
   documentKeywords: <string[]>,
   documentPartName: <string>,
   documentSubject: <string>,
   lastModificationDate: <number>,
   loadedFile: <string>,
   loadedStreamType: <StreamType>,
   pageMargins: <Object>,
   pageSize: <Size>
}
```

### Examples

The following example demonstrates `LoadDocumentCallbackData` in a practical document-editing workflow. The type of the result parameter of the LoadDocumentCallback callback function.

```javascript
function inspectLoadDocumentCallbackData(loadDocumentCallbackData) {
    console.log("author:", loadDocumentCallbackData.author);
    console.log("bytes read:", loadDocumentCallbackData.bytesRead);
    console.log("creation date:", loadDocumentCallbackData.creationDate);
    console.log("creator application:", loadDocumentCallbackData.creatorApplication);
}
```

---

## In This Section

- [Javascript: LoadDocumentCallbackData.author Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/author-property/llms-full.txt): The document's author
- [Javascript: LoadDocumentCallbackData.bytesRead Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/bytesread-property/llms-full.txt): The number of bytes read during the load operation.
- [Javascript: LoadDocumentCallbackData.creationDate Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/creationdate-property/llms-full.txt): The document's creation date.
- [Javascript: LoadDocumentCallbackData.creatorApplication Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/creatorapplication-property/llms-full.txt): The application, which has created the document.
- [Javascript: LoadDocumentCallbackData.cssFileName Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/cssfilename-property/llms-full.txt): The path and filename of the CSS file belonging to an HTML or XML document.
- [Javascript: LoadDocumentCallbackData.documentKeywords Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/documentkeywords-property/llms-full.txt): The document's keywords.
- [Javascript: LoadDocumentCallbackData.documentPartName Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/documentpartname-property/llms-full.txt): SpreadsheetML only. The name of the part of the loaded document.
- [Javascript: LoadDocumentCallbackData.documentSubject Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/documentsubject-property/llms-full.txt): The document's subject string.
- [Javascript: LoadDocumentCallbackData.lastModificationDate Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/lastmodificationdate-property/llms-full.txt): The date the document is last modified.
- [Javascript: LoadDocumentCallbackData.loadedFile Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/loadedfile-property/llms-full.txt): The name and path of the file that has been loaded.
- [Javascript: LoadDocumentCallbackData.loadedStreamType Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/loadedstreamtype-property/llms-full.txt): The StreamType of the file that has been loaded.
- [Javascript: LoadDocumentCallbackData.pageMargins Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/pagemargins-property/llms-full.txt): The margins of the loaded document's pages.
- [Javascript: LoadDocumentCallbackData.pageSize Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/pagesize-property/llms-full.txt): The width and height of the loaded document's pages.

---

## Nearby

- **Previous:** [LoadDocumentCallback Function](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallback/llms-full.txt)
- **Next:** [Javascript: LoadDocumentCallbackData.author Property](https://docs.textcontrol.com/ds-server/reference/javascript/loaddocumentcallbackdata/author-property/llms-full.txt)
