# Javascript: TXTextControl.LoadSettings.PDFImportSettings Property

> Specifies how the document structure is generated when a PDF document is imported.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.LoadSettings.PDFImportSettings Property
- **188 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-loadsettings/pdfimportsettings-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-loadsettings/pdfimportsettings-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-loadsettings/pdfimportsettings-property/llms-full.txt

---

### Description

Specifies how the document structure is generated when a PDF document is imported.

### Syntax

```javascript
<LoadSettings.PDFImportSettings> TXTextControl.LoadSettings.PDFImportSettings
```

### Examples

The following example demonstrates `TXTextControl.LoadSettings.PDFImportSettings` in a practical document-editing workflow. It specifies how the document structure is generated when a PDF document is imported.

```javascript
function inspectPDFImportSettings(loadSettings) {
    const pDFImportSettings = loadSettings.PDFImportSettings;
    console.log("pdfimport settings:", pDFImportSettings);
}
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.LoadSettings.PDFImportSettings Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-loadsettings/pdfimportsettings-enumeration/llms-full.txt)
- **Next:** [Javascript: TXTextControl.LoadSettings.reportingMergeBlockFormat Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-loadsettings/reportingmergeblockformat-property/llms-full.txt)
