## DocumentDevice class


Abstract class for all devices which is used to process the whole pdf document.

```cpp
class DocumentDevice : public Aspose::Pdf::Devices::PageDevice
```

## Methods

| Method | Description |
| --- | --- |
| [DocumentDevice](./documentdevice/)() |  |
| virtual [Process](./process/)(const System::SharedPtr\<Aspose::Pdf::Document\>\&, const int32_t\&, const int32_t\&, const System::SharedPtr\<System::IO::Stream\>\&) | Each device represents some operation on the document, e.g. we can convert pdf document into another format. |
| [Process](./process/)(const System::SharedPtr\<Aspose::Pdf::Document\>\&, const System::SharedPtr\<System::IO::Stream\>\&) | Processes the whole document and saves results into stream. |
| [Process](./process/)(const System::SharedPtr\<Aspose::Pdf::Document\>\&, const System::String\&) | Processes the whole document and saves results into file. |
| [Process](./process/)(const System::SharedPtr\<Aspose::Pdf::Document\>\&, const int32_t\&, const int32_t\&, const System::String\&) | Processes certain pages of the document and saves results into file. |
## See Also

* Class [PageDevice](../pagedevice/)
* Namespace [Aspose::Pdf::Devices](../)
* Library [Aspose.PDF for C++](../../)
