Class CompareOptions
Namespace: Aspose.Words.Comparing
Assembly: Aspose.Words.dll (25.4.0)
Allows to choose additional options for document comparison operation.
To learn more, visit the Compare Documents documentation article.
public class CompareOptions
Inheritance
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
CompareOptions()
public CompareOptions()
Properties
AdvancedOptions
Specifies advanced compare options that might help to produce more precise comparison output.
public AdvancedCompareOptions AdvancedOptions { get; }
Property Value
CompareMoves
Specifies whether to compare differences between the two documents.
public bool CompareMoves { get; set; }
Property Value
Remarks
By default move revisions are not produced.
Granularity
Specifies whether changes are tracked by character or by word.
public Granularity Granularity { get; set; }
Property Value
Remarks
Default value is Aspose.Words.Comparing.Granularity.WordLevel.
IgnoreCaseChanges
True indicates that documents comparison is case insensitive.
public bool IgnoreCaseChanges { get; set; }
Property Value
Remarks
By default comparison is case sensitive.
IgnoreComments
Specifies whether to compare differences in comments.
public bool IgnoreComments { get; set; }
Property Value
Remarks
By default comments are not ignored.
IgnoreDmlUniqueId
Specifies whether to ignore difference in DrawingML unique Id.
[Obsolete("Obsolete, please use CompareOptions.AdvancedOptions.IgnoreDmlUniqueId property.")]
public bool IgnoreDmlUniqueId { get; set; }
Property Value
Remarks
Default value is false
.
IgnoreFields
Specifies whether to compare differences in fields.
public bool IgnoreFields { get; set; }
Property Value
Remarks
By default fields are not ignored.
IgnoreFootnotes
Specifies whether to compare differences in footnotes and endnotes.
public bool IgnoreFootnotes { get; set; }
Property Value
Remarks
By default footnotes are not ignored.
IgnoreFormatting
True indicates that formatting is ignored.
public bool IgnoreFormatting { get; set; }
Property Value
Remarks
By default document formatting is not ignored.
IgnoreHeadersAndFooters
True indicates that headers and footers content is ignored.
public bool IgnoreHeadersAndFooters { get; set; }
Property Value
Remarks
By default headers and footers are not ignored.
IgnoreTables
Specifies whether to compare the differences in data contained in tables.
public bool IgnoreTables { get; set; }
Property Value
Remarks
By default tables are not ignored.
IgnoreTextboxes
Specifies whether to compare differences in the data contained within text boxes.
public bool IgnoreTextboxes { get; set; }
Property Value
Remarks
By default textboxes are not ignored.
Target
Specifies which document shall be used as a target during comparison.
public ComparisonTargetType Target { get; set; }