Show / Hide Table of Contents

# Class DiffOptions

##### Inheritance

object
OptionsBase
DiffOptions

##### Inherited Members

OptionsBase.mObjSet
OptionsBase.ColorPtToNumber(ColorPt)
OptionsBase.ColorPtFromNumber(double)
OptionsBase.GetArray(string)
OptionsBase.PutNumber(string, double)
OptionsBase.PutBool(string, bool)
OptionsBase.PutText(string, string)
OptionsBase.PutRect(string, Rect)
OptionsBase.PushBackNumber(string, double)
OptionsBase.PushBackBool(string, bool)
OptionsBase.PushBackText(string, string)
OptionsBase.PushBackRect(string, Rect)
OptionsBase.RectFromArray(Obj)
OptionsBase.insertRectCollection(string, RectCollection, int)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: pdftron.PDF

###### Assembly: PDFNet.dll

##### Syntax

    public class DiffOptions : OptionsBase

### Constructors

#### DiffOptions()

Constructor.

##### Declaration

    public DiffOptions()

### Methods

#### GetAddGroupAnnots()

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

##### Declaration

    public bool GetAddGroupAnnots()

##### Returns

Type | Description
--- | ---
bool | a bool, Whether we should add an annot layer indicating the difference regions.

#### GetBlendMode()

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

##### Declaration

    public GState.BlendMode GetBlendMode()

##### Returns

Type | Description
--- | ---
GState.BlendMode | a GState::BlendMode, How the two colors should be blended..

#### GetColorA()

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

##### Declaration

    public ColorPt GetColorA()

##### Returns

Type | Description
--- | ---
ColorPt | a ColorPt^, The difference color for the first page..

#### GetColorB()

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

##### Declaration

    public ColorPt GetColorB()

##### Returns

Type | Description
--- | ---
ColorPt | a ColorPt^, The difference color for the second page.

#### SetAddGroupAnnots(bool)

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

##### Declaration

    public DiffOptions SetAddGroupAnnots(bool value)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | value | Whether we should add an annot layer indicating the difference regions

##### Returns

Type | Description
--- | ---
DiffOptions | this object, for call chaining

#### SetBlendMode(BlendMode)

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

##### Declaration

    public DiffOptions SetBlendMode(GState.BlendMode value)

##### Parameters

Type | Name | Description
--- | --- | ---
GState.BlendMode | value | How the two colors should be blended.

##### Returns

Type | Description
--- | ---
DiffOptions | this object, for call chaining

#### SetColorA(ColorPt)

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

##### Declaration

    public DiffOptions SetColorA(ColorPt value)

##### Parameters

Type | Name | Description
--- | --- | ---
ColorPt | value | The difference color for the first page.

##### Returns

Type | Description
--- | ---
DiffOptions | this object, for call chaining

#### SetColorB(ColorPt)

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

##### Declaration

    public DiffOptions SetColorB(ColorPt value)

##### Parameters

Type | Name | Description
--- | --- | ---
ColorPt | value | The difference color for the second page

##### Returns

Type | Description
--- | ---
DiffOptions | this object, for call chaining