# PageImage Property

> Returns a Picture object of a page for a Form, PictureBox or Image control, containing the page background, headers and footers, main text or all of them.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > PageImage Property
- **296 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageimage-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageimage-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageimage-property/llms-full.txt

---

Returns an image of the specified page which can be used with the **Picture** property of a **Form** object, **PictureBox** control or **Image** control.

Introduced: 16.0.

### Syntax

```vbscript
TXTextControl.PageImage Number, Content
```

### Parameters

| Parameter | Description |
|---|---|
| Number | Specifies the page's number. The first page has the number 1. |
| Content | Specifies the image's contents. Possible values are listed in Constants. These values can be combined. |

### Constants

Valid values for the Content parameter are:

| Constant | Description |
|---|---|
| pcBackground (1) | The image contains the background of the page. |
| pcHeadersAndFooters (2) | The image contains the header and the footer of the page. |
| pcMainText (4) | The image contains the page's text contents. |
| pcAll (7) | The image contains all parts. |

### Data Types

| Name | Data type |
|---|---|
| Number | Long |
| Content | Integer |
| Property value | Picture object |

### Limitations

Read only, run time only.

### See Also

- [Programming Category: Sections and Pages](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/sections-pages/llms-full.txt)

---

## Nearby

- **Previous:** [PageHeight Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageheight-property/llms-full.txt)
- **Next:** [PageLength Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagelength-property/llms-full.txt)
