TX Text Control .NET for Windows Forms

PageContent Enumeration

Enumeration
Namespace
TXTextControl
Full name
TXTextControl.Page.PageContent
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.

Description

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

Syntax

[Flags]
public enum Page.PageContent

Members

MemberValueDescription
All7The image contains all parts without the screen elements.
Background1The image contains the background of the page.
HeadersAndFooters2The image contains the header and the footer of the page.
MainText4The image contains the page's text contents.
ScreenElements8The image contains all elements which are additionally displayed on a screen, such as the selection, the control characters and helper lines.
GlyphOutlines16Not 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}");

See Also

Page.GetImage Method.

Further Reading

  • A Deeper Look at TX Text Control .NET for Windows Forms's Page Class –
  • Page Rendering Engine: Creating Thumbnails or Multipage TIFF Images –