PageContent Enumeration
- Namespace
TXTextControl
- Full name
TXTextControl.Page. PageContent
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Defines the contents of a page's image returned from the Page.GetImage method. The enumeration contains the following values:
Syntax
[]
public enum Page.PageContent<Flags>
Public Enum Page.PageContentMembers
| 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.
Page.PageContent value = Page.PageContent.Background;
Console.WriteLine($"Using Page Content: {value}");Dim value As Page.PageContent = Page.PageContent.Background
Console.WriteLine($"Using Page Content: {value}")See Also
Page.GetImage Method.