## Page::SendTo(const System::SharedPtr\<Aspose::Pdf::Devices::PageDevice\>\&, const System::SharedPtr\<System::IO::Stream\>\&) method


Sends page to process with given page device.

```cpp
void Aspose::Pdf::Page::SendTo(const System::SharedPtr<Aspose::Pdf::Devices::PageDevice> &device, const System::SharedPtr<System::IO::Stream> &output)
```


| Parameter | Type | Description |
| --- | --- | --- |
| device | const System::SharedPtr\<Aspose::Pdf::Devices::PageDevice\>\& | The device to process page. |
| output | const System::SharedPtr\<System::IO::Stream\>\& | Result stream which is used with device to save its output. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [PageDevice](../../../aspose.pdf.devices/pagedevice/)
* Class [Stream](../../../system.io/stream/)
* Class [Page](../)
* Namespace [Aspose::Pdf](../../)
* Library [Aspose.PDF for C++](../../../)
## Page::SendTo(const System::SharedPtr\<Aspose::Pdf::Devices::PageDevice\>\&, const System::String\&) method


Sends page to process with given page device.

```cpp
void Aspose::Pdf::Page::SendTo(const System::SharedPtr<Aspose::Pdf::Devices::PageDevice> &device, const System::String &outputFileName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| device | const System::SharedPtr\<Aspose::Pdf::Devices::PageDevice\>\& | The device to process page. |
| outputFileName | const System::String\& | File which is used with device to save its output. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [PageDevice](../../../aspose.pdf.devices/pagedevice/)
* Class [String](../../../system/string/)
* Class [Page](../)
* Namespace [Aspose::Pdf](../../)
* Library [Aspose.PDF for C++](../../../)
