# DocumentPermissions Class

> The DocumentPermissions class provides settings determining how the document can be edited, when the EditMode is changed from Edit to ReadAndSelect.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 25.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > DocumentPermissions Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/#members)

---

## In This Section

- [DocumentPermissions.AllowCopy Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/allowcopy-property/llms.txt): Specifies whether document content can be copied to the clipboard. The default setting of this property is true.
- [DocumentPermissions.AllowEditingFormFields Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/alloweditingformfields-property/llms.txt): Specifies whether form fields can be edited. The default setting of this property is true.
- [DocumentPermissions.AllowFormatting Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/allowformatting-property/llms.txt): Gets or sets a value specifying whether the document can be formatted. The default setting of this property is true. To use formatting styles, the AllowFormattingStyles property must also be set to true.
- [DocumentPermissions.AllowFormattingStyles Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/allowformattingstyles-property/llms.txt): Gets or sets a value specifying whether formatting styles can be used to format the document. The default setting of this property is true.
- [DocumentPermissions.AllowPrinting Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/allowprinting-property/llms.txt): Gets or sets a value specifying whether the document can be printed. The default setting of this property is true.
- [DocumentPermissions.ReadOnly Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/readonly-property/llms.txt): Gets or sets a value specifying whether the document is read only. Neither the document's text can be changed nor the document can be formatted. The default setting of this property is true.

---

## Nearby

- **Previous:** [DocumentLinkEventArgs.DocumentLink Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentlinkeventargs/documentlink-property/llms.txt)
- **Next:** [DocumentPermissions.AllowCopy Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentpermissions/allowcopy-property/llms.txt)
