PageTextArea

PageTextArea class

Represents a page text area which is used to represent a text value in the parsing by template or parsing form functionality.

public sealed class PageTextArea : PageArea

Constructors

Name Description
PageTextArea(IEnumerable<PageTextArea>, Page) Initializes a new instance of the PageTextArea class.
PageTextArea(string, Page, Rectangle) Initializes a new instance of the PageTextArea class.
PageTextArea(string, double?, TextStyle, Page, Rectangle) Initializes a new instance of the PageTextArea class.

Properties

Name Description
Areas { get; } Gets the collection of child text page areas.
BaseLine { get; } Gets the base line.
Page { get; } Gets the document page information such as page index and page size.
Rectangle { get; } Gets the rectangular area.
Text { get; } Gets the text.
TextStyle { get; } Gets the text style such as font size, font name an so on.

Methods

Name Description
override ToString() Converts the value of this instance to String.

Remarks

An instance of PageTextArea class is used as return value of the following methods:

Also an instance of PageTextArea class is used as value of PageArea property.

See the usage examples there.

The text area can be single or composite. In the first case it contains a text which is bounded by a rectangular area. In the second case it contains other text areas; text and table properties are calculated by child text areas.

See Also