
## DocumentDevice class

Abstract class for all devices which is used to process the whole pdf document.

The DocumentDevice type exposes the following members:
## Methods
| Name | Description |
| :- | :- |
|process(document, from_page, to_page, output)|Each device represents some operation on the document, e.g. we can convert pdf document into another format.|
|process(document, output)|Each device represents some operation on the document, e.g. we can convert pdf document into another format.|
|process(document, output_file_name)|Processes the whole document and saves results into file.|
|process(document, from_page, to_page, output_file_name)|Processes certain pages of the document and saves results into file.|
|binarize_bradley(input_image_stream, output_image_stream, threshold)|Do Bradley binarization for input stream.|

### See Also

* namespace [aspose.pdf.devices](/pdf/python-net/aspose.pdf.devices/)
* assembly [Aspose.PDF](/pdf/python-net/)

