Interface: DocumentComparisonStrokeColors

PSPDFKit.DocumentComparisonStrokeColors

optional Specifies the stroke colors used for overlaid strokes of the base and second documents documents used in document comparison.

Example

instance.setDocumentComparisonMode({
  documentA: {
    source: PSPDFKit.DocumentComparisonSourceType.USE_OPEN_DOCUMENT,
    pageIndex: 0
  },
  documentB: {
    source: PSPDFKit.DocumentComparisonSourceType.USE_FILE_DIALOG,
    pageIndex: 0
  },
  strokeColors: {
    documentA: PSPDFKit.Color.RED,
    documentB: PSPDFKit.Color.BLUE
  },
  autoCompare: false
});

Members




Members

documentA: PSPDFKit.Color

optional

Stroke color for the base document used for document comparison.

Type:
Default Value:
  • new PSPDFKit.Color({ r: 245, g: 40, b: 27 })

documentB: PSPDFKit.Color

Stroke color for the second document used for document comparison.

Type:
Default Value:
  • new PSPDFKit.Color({ r: 49, g: 193, b: 255 })