Home > Products > CSHTMLDiff Control > Documentation > User Guide
|
SetEnginePrefs
|
Previous Top Next |
|
|
| Change the Diff-Engine behaviour.
|
|
|
| Syntax
|
|
|
| Sub SetEnginePrefs(cmpMethod As OCXCmpMethod, blanksMode As OCXBlanksMode, ignoreCase As Boolean, ignoreFontStyle As Boolean, followHyperlinks As Boolean, includeTablesFormat As Boolean, keepScripts As Boolean)
|
|
|
| Parameters
|
|
|
| cmpMethod
|
| Specifies the resolution and word boundaries for comparison (Single character, Whole word, Entire line). See OCXCmpMethod for more information.
|
|
|
| blanksMode
|
| Specifies how blank characters are treated. See OCXBlanksMode for more information.
|
|
|
| ignoreCase
|
| Specify True for case-insensitive comparisons.
|
|
|
| ignoreFontStyle
|
| Specifying True will cause the control to ignore changes in text-formatting attributes.
|
| This option affects the engine only in HTML-Visual Analysis mode.
|
|
|
| followHyperlinks
|
| Not supported in this release. This option has no effect.
|
|
|
| includeTablesFormat
|
| If False, formatting tags within tables will be removed from the resulting output.
|
| This option affects the engine only in HTML-Visual Analysis mode.
|
|
|
| keepScripts
|
| If False, Script code will be removed from the resulting output.
|
| This option affects the engine only in HTML-Visual Analysis mode.
|
|
|
| Remarks
|
|
|
| Changes the behaviour of the control. The changed settings will take effect only after the next call to a Diff operation (such as DoDiff, DiffFiles etc.)
|
|
|
| includeTablesFormat - Use this option when the source files may include fixed table-width, which might conceal the visual representation of deleted/added elements inside tables.
|
| In most cases, it is recommended to set this option to True .
|
|
|
| keepScripts - Use this option when the Diff-output causes problems with scripts originating in the source files.
|
| In most cases this option can be safely set to True. However, it is not recommended to compare files that rely heavily on scripting.
|
|
|
| See Also
|
|
|
| DoDiff, Saving settings between sessions, Diff Specification
|
|
|
|
|
|
|