Home > Products > CSHTMLDiff Control > Documentation > User Guide

Other Preferences
Previous  Top  Next


 
Some additional advanced properties of the control are available from the generic properties window:  
 
propall  
 
These properties include:  
 
·BorderWidth - Specifies the margin between the control edges and the internal viewable area (in pixels).  
 
·RegistryKey - Specifies the User-Key in the registry under which the control settings are stored in run-time..  
The control loads its settings from the registry (if the key is available) when it is first created, and saves the settings when programmatically asked.  
 
For example:  
RegistryKey = "Software\MyApp"  
 
will save the control settings under the registry key:  
 
HKEY_CURRENT_USER\Software\MyApp\Engine  
and  
HKEY_CURRENT_USER\Software\MyApp\Output  
 
 
·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.  
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 (default).  
 
·keepScripts - if False, Script code will be removed from the resulting output.  
This option affects the engine only in HTML-Visual Analysis mode.  
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 (default). However, it is not recommended to compare files that rely heavily on scripting.