Class TextDifferenceDetail
Describes which formatting attributes changed for a matched text element.
Inherited Members
Namespace: DRIT.Pdf.Comparison
Assembly: DRIT.Pdf.dll
Syntax
public sealed class TextDifferenceDetail
Properties
ColorA
Text fill colour in document A.
Declaration
public PdfColor ColorA { get; }
Property Value
| Type | Description |
|---|---|
| PdfColor |
ColorB
Text fill colour in document B.
Declaration
public PdfColor ColorB { get; }
Property Value
| Type | Description |
|---|---|
| PdfColor |
ColorChanged
Whether the text fill colour differs.
Declaration
public bool ColorChanged { get; }
Property Value
| Type | Description |
|---|---|
| bool |
FontNameA
Font family name in document A.
Declaration
public string? FontNameA { get; }
Property Value
| Type | Description |
|---|---|
| string |
FontNameB
Font family name in document B.
Declaration
public string? FontNameB { get; }
Property Value
| Type | Description |
|---|---|
| string |
FontNameChanged
Whether the font family name differs.
Declaration
public bool FontNameChanged { get; }
Property Value
| Type | Description |
|---|---|
| bool |
FontSizeA
Font size in document A.
Declaration
public double FontSizeA { get; }
Property Value
| Type | Description |
|---|---|
| double |
FontSizeB
Font size in document B.
Declaration
public double FontSizeB { get; }
Property Value
| Type | Description |
|---|---|
| double |
FontSizeChanged
Whether the font size differs.
Declaration
public bool FontSizeChanged { get; }
Property Value
| Type | Description |
|---|---|
| bool |
FontStyleA
Font style in document A.
Declaration
public PdfFontStyle FontStyleA { get; }
Property Value
| Type | Description |
|---|---|
| PdfFontStyle |
FontStyleB
Font style in document B.
Declaration
public PdfFontStyle FontStyleB { get; }
Property Value
| Type | Description |
|---|---|
| PdfFontStyle |
FontStyleChanged
Whether the font style (italic/bold) differs.
Declaration
public bool FontStyleChanged { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasAnyChange
Whether at least one formatting attribute has changed.
Declaration
public bool HasAnyChange { get; }
Property Value
| Type | Description |
|---|---|
| bool |