# PageContent Enumeration

> Defines the contents of a page's image returned from the Page.GetImage method. The enumeration contains the following values:

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **Namespace:** `TXTextControl`
- **Full name:** `TXTextControl.Page.PageContent`
- **Package:** `TXTextControl.TextControl.WinForms.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 for Windows Forms > Reference > TXTextControl > PageContent Enumeration
- **623 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagecontent/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagecontent/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagecontent/enumeration/llms-full.txt

---

### Description

Defines the contents of a page's image returned from the [Page.GetImage](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/page/getimage-method/llms-full.txt) method. The enumeration contains the following values:

### Syntax

```csharp
[Flags]
public enum Page.PageContent
```

```vbnet
<Flags>
Public Enum Page.PageContent
```

### Members

| Member | Value | Description |
|---|---|---|
| All | 7 | The image contains all parts without the screen elements. |
| Background | 1 | The image contains the background of the page. |
| HeadersAndFooters | 2 | The image contains the header and the footer of the page. |
| MainText | 4 | The image contains the page's text contents. |
| ScreenElements | 8 | The image contains all elements which are additionally displayed on a screen, such as the selection, the control characters and helper lines. |
| GlyphOutlines | 16 | Not described in the reference. |

### Examples

The following example selects the Background value from the Page Content enumeration and uses it as a documented workflow choice.

```csharp
Page.PageContent value = Page.PageContent.Background;
Console.WriteLine($"Using Page Content: {value}");
```

```vbnet
Dim value As Page.PageContent = Page.PageContent.Background
Console.WriteLine($"Using Page Content: {value}")
```

### See Also

[Page.GetImage](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/page/getimage-method/llms-full.txt) Method.

---

## Nearby

- **Previous:** [PageCollection.Item Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagecollection/item-property/llms-full.txt)
- **Next:** [PageMargins Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagemargins/llms-full.txt)
