• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class TextDifference

A text content element differs between the two documents.

Inheritance
object
Difference
TextDifference
Inherited Members
Difference.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf.Comparison
Assembly: DRIT.Pdf.dll
Syntax
public sealed class TextDifference : Difference

Properties

BoundsA

Bounds of the element in document A, or null for TextAdded.

Declaration
public PdfRect? BoundsA { get; }
Property Value
Type Description
PdfRect?

BoundsB

Bounds of the element in document B, or null for TextRemoved.

Declaration
public PdfRect? BoundsB { get; }
Property Value
Type Description
PdfRect?

Detail

Formatting detail (populated for TextFormatChanged).

Declaration
public TextDifferenceDetail? Detail { get; }
Property Value
Type Description
TextDifferenceDetail

Kind

The kind of difference this record represents.

Declaration
public override DifferenceKind Kind { get; }
Property Value
Type Description
DifferenceKind
Overrides
Difference.Kind

Message

Human-readable description of the difference.

Declaration
public override string Message { get; }
Property Value
Type Description
string
Overrides
Difference.Message

PageIndex

Zero-based index of the page where the difference was found.

Declaration
public int PageIndex { get; }
Property Value
Type Description
int

TextA

Text string in document A, or null for TextAdded.

Declaration
public string? TextA { get; }
Property Value
Type Description
string

TextB

Text string in document B, or null for TextRemoved.

Declaration
public string? TextB { get; }
Property Value
Type Description
string
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX