Nutrient Web SDK
    Preparing search index...

    Type Alias DocumentComparisonStrokeColors

    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
    });
    type DocumentComparisonStrokeColors = {
        documentA?: NutrientViewer.Color;
        documentB?: NutrientViewer.Color;
    }
    Index

    Properties

    documentA?: NutrientViewer.Color

    Stroke color for the base document used for document comparison.

    new NutrientViewer.Color({ r: 245, g: 40, b: 27 })
    
    documentB?: NutrientViewer.Color

    Stroke color for the second document used for document comparison.

    new NutrientViewer.Color({ r: 49, g: 193, b: 255 })