# DocumentTargetInfo Object

> Information about a document target.

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

---

### Description

Information about a document target.

### Syntax

```javascript
{
   targetName: <string>
}
```

### Examples

The following example demonstrates `DocumentTargetInfo` in a practical document-editing workflow. Information about a document target.

```javascript
function inspectDocumentTargetInfo(documentTargetInfo) {
    console.log("target name:", documentTargetInfo.targetName);
}
```

---

## In This Section

- [Javascript: DocumentTargetInfo.targetName Property](https://docs.textcontrol.com/ds-server/reference/javascript/documenttargetinfo/targetname-property/llms-full.txt): The name of the document target.

---

## Nearby

- **Previous:** [Javascript: DocumentTargetCollection.remove Method](https://docs.textcontrol.com/ds-server/reference/javascript/documenttargetcollection/remove-method/llms-full.txt)
- **Next:** [Javascript: DocumentTargetInfo.targetName Property](https://docs.textcontrol.com/ds-server/reference/javascript/documenttargetinfo/targetname-property/llms-full.txt)
