CompareOptionsModel Data Type

The options to use when adding a PDFDocument as a layer to a comparison document.

Properties
name data type description
layerName string The layer name used for the CompareOptions.
color string The color used for the CompareOptions when converting the PDF content.
scaleX number The X scale value used for positioning the PDF content. Default is 1.
scaleY number The Y scale value used for positioning the PDF content. Default is 1.
x number The X translate coordinate used for positioning the PDF content. Default is 0.
y number The Y translate coordinate used for positioning the PDF content. Default is 0.
rotation number The rotation value used for positioning the PDF content. Default is 0.

Example

{
  "layerName" : "...",
  "color" : "...",
  "scaleX" : 12345.0,
  "scaleY" : 12345.0,
  "x" : 12345.0,
  "y" : 12345.0,
  "rotation" : 12345.0
}