public class

DiffOptions

extends OptionsBase
java.lang.Object
   ↳ com.pdftron.pdf.OptionsBase
     ↳ com.pdftron.pdf.DiffOptions

Summary

Public Constructors
DiffOptions()
Constructor.
DiffOptions(String json_string)
Constructor.
Public Methods
boolean getAddGroupAnnots()
Gets the value AddGroupAnnots from the options object Whether we should add an annot layer indicating the difference regions
int getBlendMode()
Gets the value BlendMode from the options object How the two colors should be blended.
ColorPt getColorA()
Gets the value ColorA from the options object The difference color for the first page.
ColorPt getColorB()
Gets the value ColorB from the options object The difference color for the second page
DiffOptions setAddGroupAnnots(boolean value)
Sets the value for AddGroupAnnots in the options object Whether we should add an annot layer indicating the difference regions
DiffOptions setBlendMode(int value)
Sets the value for BlendMode in the options object How the two colors should be blended.
DiffOptions setColorA(ColorPt value)
Sets the value for ColorA in the options object The difference color for the first page.
DiffOptions setColorB(ColorPt value)
Sets the value for ColorB in the options object The difference color for the second page
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DiffOptions ()

Constructor.

public DiffOptions (String json_string)

Constructor.

Public Methods

public boolean getAddGroupAnnots ()

Gets the value AddGroupAnnots from the options object Whether we should add an annot layer indicating the difference regions

Returns
  • a boolean, Whether we should add an annot layer indicating the difference regions.

public int getBlendMode ()

Gets the value BlendMode from the options object How the two colors should be blended.

Returns
  • a int, How the two colors should be blended..

public ColorPt getColorA ()

Gets the value ColorA from the options object The difference color for the first page.

Returns
  • a ColorPt, The difference color for the first page..

public ColorPt getColorB ()

Gets the value ColorB from the options object The difference color for the second page

Returns
  • a ColorPt, The difference color for the second page.

public DiffOptions setAddGroupAnnots (boolean value)

Sets the value for AddGroupAnnots in the options object Whether we should add an annot layer indicating the difference regions

Returns
  • this object, for call chaining

public DiffOptions setBlendMode (int value)

Sets the value for BlendMode in the options object How the two colors should be blended.

Returns
  • this object, for call chaining

public DiffOptions setColorA (ColorPt value)

Sets the value for ColorA in the options object The difference color for the first page.

Returns
  • this object, for call chaining

public DiffOptions setColorB (ColorPt value)

Sets the value for ColorB in the options object The difference color for the second page

Returns
  • this object, for call chaining