Table of Contents

Class RichTextOptions

Namespace
SixLabors.ImageSharp.Drawing.Processing
Assembly
SixLabors.ImageSharp.Drawing.dll

Provides configuration options for rendering and shaping of rich text.

public class RichTextOptions : TextOptions
Inheritance
RichTextOptions
Inherited Members

Constructors

RichTextOptions(Font)

Initializes a new instance of the RichTextOptions class.

public RichTextOptions(Font font)

Parameters

font Font

The font.

RichTextOptions(RichTextOptions)

Initializes a new instance of the RichTextOptions class from properties copied from the given instance.

public RichTextOptions(RichTextOptions options)

Parameters

options RichTextOptions

The options whose properties are copied into this instance.

Properties

TextRuns

Gets or sets an optional collection of text runs to apply to the body of text.

public IReadOnlyList<RichTextRun> TextRuns { get; set; }

Property Value

IReadOnlyList<RichTextRun>