URichTextValue

Fragment of IDocumentBody, from Univer, to create and get all Rich Texts See doc

public struct URichTextValue

Remarks

This struct represents a fragment of a rich text document body (IDocumentBody) from Univer. It contains the actual text data and its associated styled segments, enabling rich text formatting operations.

Properties

Property Type Description
dataStream string Data in the rich text
textRuns List<UTextRun> Text configuration for each style

Constructors

public URichTextValue()

Fragment of IDocumentBody, from Univer, to create and get all Rich Texts See doc


public URichTextValue(string richText)

Fragment of IDocumentBody, from Univer, to create and get all Rich Texts See doc

Parameters
Parameter Type Description
richText string Text inside the rich text