ParagraphAbsorber

ParagraphAbsorber

Overview

ParagraphAbsorber is a class in Aspose.PDF FOSS for .NET.

Absorbs text from PDF pages and organizes it into sections and paragraphs.

This class declares 6 methods for ParagraphAbsorber objects in .NET programs. Available methods include: ParagraphAbsorber, Visit. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: IsMulticolumnParagraphsAllowed, PageMarkups, ParagraphAbsorberOptions, SectionsSearchDepth, TextReplaceOptions.

Properties

NameTypeAccessDescription
PageMarkupsList<PageMarkup>ReadThe page markups produced by Visit(Document) or Visit(Page).
ParagraphAbsorberOptionsParagraphAbsorberOptionsRead/WriteActive options bag.
SectionsSearchDepthintRead/WriteHow many nesting levels to descend when partitioning sections.
TextReplaceOptionsTextReplaceOptions?Read/WriteOptions that flow through to the inner TextFragmentAbsorber when re-emitting paragraphs.
IsMulticolumnParagraphsAllowedboolRead/WriteGets or sets whether paragraphs may continue across columns and pages.

Methods

SignatureDescription
ParagraphAbsorber()Creates a paragraph absorber with default options.
ParagraphAbsorber(paragraphAbsorberOptions: ParagraphAbsorberOptions)Creates a paragraph absorber with the given options; null uses default options.
ParagraphAbsorber(sectionsSearchDepth: int)Creates a paragraph absorber with default options and the given SectionsSearchDepth (stored only).
ParagraphAbsorber(sectionsSearchDepth: int, paragraphAbsorberOptions: ParagraphAbsorberOptions)Creates a paragraph absorber with the given options (null uses defaults) and SectionsSearchDepth (stored only).
Visit(doc: Document)Visit an entire document — absorbs all pages.
Visit(page: Page)Visit a single page and absorb its text into sections/paragraphs.

See Also

 English