Specifies the stroke colors used for overlaid strokes of the base and second documents documents used in document comparison.
instance.setDocumentComparisonMode({ documentA: { source: NutrientViewer.DocumentComparisonSourceType.USE_OPEN_DOCUMENT, pageIndex: 0 }, documentB: { source: NutrientViewer.DocumentComparisonSourceType.USE_FILE_DIALOG, pageIndex: 0 }, strokeColors: { documentA: NutrientViewer.Color.RED, documentB: NutrientViewer.Color.BLUE }, autoCompare: false}); Copy
instance.setDocumentComparisonMode({ documentA: { source: NutrientViewer.DocumentComparisonSourceType.USE_OPEN_DOCUMENT, pageIndex: 0 }, documentB: { source: NutrientViewer.DocumentComparisonSourceType.USE_FILE_DIALOG, pageIndex: 0 }, strokeColors: { documentA: NutrientViewer.Color.RED, documentB: NutrientViewer.Color.BLUE }, autoCompare: false});
Optional
Stroke color for the base document used for document comparison.
new NutrientViewer.Color({ r: 245, g: 40, b: 27 }) Copy
new NutrientViewer.Color({ r: 245, g: 40, b: 27 })
Stroke color for the second document used for document comparison.
new NutrientViewer.Color({ r: 49, g: 193, b: 255 }) Copy
new NutrientViewer.Color({ r: 49, g: 193, b: 255 })
Specifies the stroke colors used for overlaid strokes of the base and second documents documents used in document comparison.
Example