# Document Properties

> Set title, author, keywords and company with DocumentProperties and DocumentExportOptions, review template metadata and verify XLSX, TXWB and PDF output.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Sheet Control > Document Processing > Document Properties
- **551 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/document-processing/properties/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/document-processing/properties/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/document-processing/properties/llms-full.txt

---

Workbook properties describe the document rather than its cells. The supported metadata includes the familiar title, author, subject, description, categories, keywords and company, plus related native document properties, set through the format-specific options and model.

Metadata travels with the file you deliver, so set it on purpose, clear what a template brings along and check the result in the exported document.

### Set Metadata Intentionally

Use the public `DocumentProperties`, `DocumentExportOptions` and save-option references to select supported fields: [DocumentProperties](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/documentproperties/llms-full.txt), [DocumentExportOptions](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/documentexportoptions/llms-full.txt) and [SaveOptions.documentProperties](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/documentproperties-property/llms-full.txt) in the browser editor, and the [DocumentProperties](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/documentproperties/llms-full.txt) class in .NET.

Document metadata belongs to the file being delivered. Do not confuse it with the current comment author or the application's authenticated user.

### Review Template Metadata

Review inherited template metadata before generating customer reports. A reusable template can contain an old author or title that should be replaced or cleared for the new output.

> Warning
>
> **No Secrets in Metadata.** Do not put credentials or application secrets in custom metadata.

### How the Formats Differ

XLSX, TXWB and PDF have different property models. Save and export options apply to their documented formats and do not make arbitrary keys portable everywhere.

Changing output metadata should not be mistaken for changing worksheet values or browser UI settings.

### Make Report Output Reproducible

For reproducible report output, configure the relevant date, time, locale and print context explicitly. Application storage timestamps and printed date fields are separate concerns.

### Verify the Exported Document

1. Open the exported document in a target viewer.
2. Inspect both the visible pages and its property panel.
3. Verify that unsupported or omitted values are handled as intended.

Retain conversion warnings where the format cannot represent a requested property.

### Next Steps

- [Loading and Saving Workbooks](https://docs.textcontrol.com/tx-sheet-control/document-processing/load-save/llms-full.txt): save XLSX, TXWB and PDF with the options that carry the metadata.
- [Page Layout and Print Settings](https://docs.textcontrol.com/tx-sheet-control/pdf/page-layout/llms-full.txt): configure the print context of report output.
- [Exporting Worksheets to PDF](https://docs.textcontrol.com/tx-sheet-control/pdf/export/llms-full.txt): export the PDF documents whose properties you set.
- [Comments, Notes and Hyperlinks](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/comments/llms-full.txt): set the comment author, which is not document metadata.

---

## Nearby

- **Previous:** [XLSX Compatibility](https://docs.textcontrol.com/tx-sheet-control/document-processing/xlsx-compatibility/llms-full.txt)
- **Next:** [Backend Services](https://docs.textcontrol.com/tx-sheet-control/document-processing/backend-services/llms-full.txt)
