Table of Contents

Struct RichTextPoint

Namespace
RichEdit.Core
Assembly
RichEdit.Core.dll

A text point in one story and paragraph, using a zero-based paragraph-local UTF-16 offset.

public readonly record struct RichTextPoint : IEquatable<RichTextPoint>
Implements
Inherited Members

Constructors

RichTextPoint(RichNodeId, RichNodeId, int, CaretAffinity)

A text point in one story and paragraph, using a zero-based paragraph-local UTF-16 offset.

public RichTextPoint(RichNodeId Story, RichNodeId Paragraph, int Offset, CaretAffinity Affinity = CaretAffinity.Downstream)

Parameters

Story RichNodeId
Paragraph RichNodeId
Offset int
Affinity CaretAffinity

Properties

Affinity

public CaretAffinity Affinity { get; init; }

Property Value

CaretAffinity

Offset

public int Offset { get; init; }

Property Value

int

Paragraph

public RichNodeId Paragraph { get; init; }

Property Value

RichNodeId

Story

public RichNodeId Story { get; init; }

Property Value

RichNodeId