## Stamp::BindPdf(const System::SharedPtr\<System::IO::Stream\>\&, int32_t) method


Sets PDF file and number of page which will be used as stamp.

```cpp
void Aspose::Pdf::Facades::Stamp::BindPdf(const System::SharedPtr<System::IO::Stream> &pdfStream, int32_t pageNumber)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pdfStream | const System::SharedPtr\<System::IO::Stream\>\& | Stream which contains PDF document. |
| pageNumber | int32_t | [Page](../../../aspose.pdf/page/) index of the document whihc will be used as stamp. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [Stamp](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## Stamp::BindPdf(const System::String\&, int32_t) method


Sets PDF file and number of page which will be used as stamp.

```cpp
void Aspose::Pdf::Facades::Stamp::BindPdf(const System::String &pdfFile, int32_t pageNumber)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pdfFile | const System::String\& | Path to PDF file. |
| pageNumber | int32_t | Number of page in PDF file |

## See Also

* Class [String](../../../system/string/)
* Class [Stamp](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
