# How to get specific modify type

**URL:** <https://faq.inetsoftware.de/t/how-to-get-specific-modify-type/63>\
**Category:** API\
**Created:** [June 8, 2016, 7:05am UTC](https://faq.inetsoftware.de/t/how-to-get-specific-modify-type/63 "2016-06-08T07:05:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichardRoedel](https://faq.inetsoftware.de/user_avatar/faq.inetsoftware.de/richardroedel/32/27_2.png) [@RichardRoedel](https://faq.inetsoftware.de/u/RichardRoedel)\
**Post date:** [June 8, 2016, 7:05am UTC](https://faq.inetsoftware.de/t/how-to-get-specific-modify-type/63/1 "2016-06-08T07:05:43Z")

</div>

For this use the configuration with property **CONTINUOUS\_COMPARE\_TYPES**.  
As second value is expected

- CompareType.TEXT
- CompareType.LINE
- CompareType.IMAGE

For example

```
configuration.putValue( PDFCProperty.CONTINUOUS_COMPARE_TYPES, "" + CompareType.IMAGE );
showModifications( pdfComparer.setConfiguration( configuration ).compare( files[0], files[1] ) );

```

If needed two or more types, can this be do by add a comma and the next typs.

```
configuration.putValue( PDFCProperty.CONTINUOUS_COMPARE_TYPES, "" 
+ CompareType.IMAGE +"," 
+ CompareType.TEXT);

```

[  
View full sourcecode](https://github.com/i-net-software/pdfc-samples/blob/master/src/main/java/configuration/OutputSpecifyModifyTypes.java)
