RichTextToFlatStructureTransformer

RichTextToFlatStructureTransformer

Overview

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

Transforms rich text annotation content (XHTML with arbitrarily nested spans) into a flat structure where every leaf text node becomes a single <span style="."> with the fully-merged CSS from all ancestor elements.

This class provides 1 method for working with RichTextToFlatStructureTransformer objects in .NET programs. Available methods include: Transform. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

Methods

SignatureDescription
Transform(input: string)Transforms the given XHTML rich-text string into a flat span structure.

See Also