# What's New in TX Text Control ActiveX 25.0

> TX Text Control ActiveX 25.0: DocumentPermissions and password protection, editable regions, objects in headers and footers and pagination in tables.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > What's New > Older Versions > What's New in TX Text Control ActiveX 25.0
- **2048 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2500/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2500/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2500/llms-full.txt

---

TX Text Control ActiveX 25.0 lets you protect a document, with or without a password, and leave editable regions in it that named users can still change. The version also brings objects in headers and footers, the selection of objects behind the text and pagination options in tables. What follows lists the features and members added since version 24.0, each linked to its reference page.

### New Features

- **Objects in headers and footers.** While a header or a footer is activated, you can insert images, text frames and other objects anywhere on the page. The object is then shown in the background of every page on which the header or footer appears, which gives you watermarks and other page background images. Insert such an object at a fixed position on the page with [ImageInsertFixed](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/imageinsertfixed-method/llms-full.txt), [TextFrameInsertFixed](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textframeinsertfixed-method/llms-full.txt) or [ObjectInsertFixed](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectinsertfixed-method/llms-full.txt). The height of the header or footer does not depend on the position of these objects.
- **Documents with restricted access.** `TXTextControl` can now edit documents with restrictions, such as forbidding editing, printing, formatting or copying contents to the clipboard:


    - You specify the restrictions with [DocumentPermissions](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/documentpermissions-property/llms-full.txt). They are activated when [EditMode](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editmode-property/llms-full.txt) is changed from **Edit** to **Protected** or **Password Protected**.
    - With **Password Protected**, a dialog box opens in which the user enters a password that protects the restrictions. To unprotect the document, the same password must be entered when the edit mode is reset to **Edit**.
    - The set of permissions and the password are saved in the document in encrypted form. A password-protected document is opened read-only when it is loaded.
    - The supported formats are RTF, Microsoft Word (DOC and DOCX), Adobe PDF and the TX Text Control format (TX).

    ![The built-in Enforce Protection dialog box of TX Text Control ActiveX 34.0, in which the user enters and confirms an optional password.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/enforce-protection-dialog.45ca93ca.webp)
- **Editable regions.** An editable region is a piece of text that stays editable when [EditMode](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editmode-property/llms-full.txt) is set to **Protected** or **Password Protected**:


    - A region is defined by a start position and a length, or by a selection. Regions can overlap.
    - [EditableRegionInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregioninsert-method/llms-full.txt) inserts a region and [EditableRegionDelete](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregiondelete-method/llms-full.txt) deletes it.
    - Each region belongs to a user through [EditableRegionUserName](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionusername-property/llms-full.txt). Only this user can edit the region when the document is read-only. An empty user name lets everyone edit the region. [UserNames](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/usernames-property/llms-full.txt) specifies the users who have access to the document.
    - [EditableRegionEntered](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionentered-event/llms-full.txt) and [EditableRegionLeft](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionleft-event/llms-full.txt) occur when a region is entered or left.
    - An editable region is highlighted on the screen. By default, the highlight color depends on the user name; you can set a certain color when you insert the region.
    - In a protected document with editable regions, whether editing and formatting are possible depends on the current text input position. The new properties [CanEdit](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canedit-property/llms-full.txt), [CanCharacterFormat](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/cancharacterformat-property/llms-full.txt), [CanParagraphFormat](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canparagraphformat-property/llms-full.txt) and [CanTableFormat](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/cantableformat-property/llms-full.txt) tell you what is possible. Use them to enable or disable the menu items and buttons of your application.
- **Selection of objects in the background.** [SelectObjects](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/selectobjects-property/llms-full.txt) controls the selection of objects behind the text. When it is `True`, a mouse click selects the object in the background. When it is `False`, the click selects the text in front of the object.
- **Pagination in tables.** Pagination options let an end user control where `TXTextControl` places automatic page breaks. The settings "keep with next" and "page break before" now work in [tables](https://docs.textcontrol.com/tx-text-control-activex/document-editor/tables/llms-full.txt) as well. Because a table row consists of several paragraphs, the first paragraph of a row determines how the complete row is treated, and the pagination options of all other paragraphs are ignored. With "page break before", the complete row moves to a new page. With "keep with next", the complete row is placed on the same page as the row that follows it.

### New Properties, Methods and Events

All new members belong to `TXTextControl`.

#### Properties

| Member | Description |
|---|---|
| [CanCharacterFormat](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/cancharacterformat-property/llms-full.txt) | Informs whether character formatting attributes can be changed for the currently selected text. |
| [CanDocumentFormat](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/candocumentformat-property/llms-full.txt) | Informs whether page and section formatting attributes can be changed. |
| [CanEdit](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canedit-property/llms-full.txt) | Informs whether the document's text can be changed at the current text input position. |
| [CanParagraphFormat](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canparagraphformat-property/llms-full.txt) | Informs whether paragraph formatting attributes can be changed for the currently selected text. |
| [CanPrint](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canprint-property/llms-full.txt) | Informs whether the document can be printed. |
| [CanStyleFormat](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canstyleformat-property/llms-full.txt) | Informs whether the document can be formatted with formatting styles. |
| [CanTableFormat](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/cantableformat-property/llms-full.txt) | Informs whether table formatting attributes, the table layout or both can be changed for the currently selected text. |
| [DocumentPermissions](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/documentpermissions-property/llms-full.txt) | Specifies how the document can be edited and formatted when [EditMode](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editmode-property/llms-full.txt) is changed from **Edit** to **Protected** or **Password Protected**. |
| [EditableRegionUserId](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionuserid-property/llms-full.txt) | Returns or sets a user-defined identifier of an editable region. |
| [EditableRegionUserName](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionusername-property/llms-full.txt) | Returns or sets the name of the user who can edit the region. |
| [SelectObjects](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/selectobjects-property/llms-full.txt) | Controls the selection of objects, such as images and text frames, that are inserted behind the text. |
| [UserNames](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/usernames-property/llms-full.txt) | Gets or sets a list of names of the users who have access to a document. |

#### Methods

| Member | Description |
|---|---|
| [EditableRegionDelete](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregiondelete-method/llms-full.txt) | Deletes an editable region from the document. |
| [EditableRegionGoto](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregiongoto-method/llms-full.txt) | Sets the current input position to the beginning of the specified editable region and scrolls the text so that this position is at the top of the control's visible text. |
| [EditableRegionInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregioninsert-method/llms-full.txt) | Inserts a new editable region in the text. |

#### Events

| Member | Description |
|---|---|
| [EditableRegionEntered](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionentered-event/llms-full.txt) | Occurs when the current input position has been moved to a position that belongs to an editable region. |
| [EditableRegionLeft](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionleft-event/llms-full.txt) | Occurs when the current input position has left an editable region. |

### Extended Properties, Methods and Events

| Member | Change |
|---|---|
| [EditMode](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editmode-property/llms-full.txt) property | The new value **3 - Password Protected** password-protects the read-only edit mode. |

### Related Pages

- [What's New](https://docs.textcontrol.com/tx-text-control-activex/whats-new/llms-full.txt): the changes of every TX Text Control ActiveX version.
- [Version 26.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2600/llms-full.txt): the features and members of the next version.
- [Version 24.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2400/llms-full.txt): the features and members of the previous version.
- [Restricted Document Access](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/restricted-access/llms-full.txt): the members for document permissions and editable regions.
- [Headers and Footers](https://docs.textcontrol.com/tx-text-control-activex/document-editor/headers-footers/llms-full.txt): create and format headers and footers.

---

## Nearby

- **Previous:** [What's New in TX Text Control ActiveX 26.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2600/llms-full.txt)
- **Next:** [What's New in TX Text Control ActiveX 24.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2400/llms-full.txt)
