Aspose::Pdf::Facades::PdfFileStamp::AddHeader method
Contents
[
Hide
]PdfFileStamp::AddHeader(const System::SharedPtr<FormattedText>&, float) method
Adds header to the page.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::SharedPtr<FormattedText> &formattedText, float topMargin)
| Parameter | Type | Description |
|---|---|---|
| formattedText | const System::SharedPtr<FormattedText>& | Text for header and properties of the text. |
| topMargin | float | Margin on the top of page. |
See Also
- Typedef SharedPtr
- Class FormattedText
- Class PdfFileStamp
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileStamp::AddHeader(const System::SharedPtr<FormattedText>&, float, float, float) method
Adds header to the pages of file.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::SharedPtr<FormattedText> &formattedText, float topMargin, float leftMargin, float rightMargin)
| Parameter | Type | Description |
|---|---|---|
| formattedText | const System::SharedPtr<FormattedText>& | Formatted text object which contains page text and its properties. |
| topMargin | float | Margin on the top of the page. |
| leftMargin | float | Margin on the left of the page. |
| rightMargin | float | Margin on the right of the page. |
See Also
- Typedef SharedPtr
- Class FormattedText
- Class PdfFileStamp
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileStamp::AddHeader(const System::SharedPtr<System::IO::Stream>&, float) method
Adds image as header on the pages.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::SharedPtr<System::IO::Stream> &imageStream, float topMargin)
| Parameter | Type | Description |
|---|---|---|
| imageStream | const System::SharedPtr<System::IO::Stream>& | Stream of the image. |
| topMargin | float | Margin at top of the page. |
See Also
- Typedef SharedPtr
- Class Stream
- Class PdfFileStamp
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileStamp::AddHeader(const System::SharedPtr<System::IO::Stream>&, float, float, float) method
Adds image at the top of the page.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::SharedPtr<System::IO::Stream> &inputStream, float topMargin, float leftMargin, float rightMargin)
| Parameter | Type | Description |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Stream which contains image data. |
| topMargin | float | Margin at top of the page. |
| leftMargin | float | Margin at left side of the page. |
| rightMargin | float | Margin at right side of the page. |
See Also
- Typedef SharedPtr
- Class Stream
- Class PdfFileStamp
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileStamp::AddHeader(const System::String&, float) method
Adds image as header to the pages of the file.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::String &imageFile, float topMargin)
| Parameter | Type | Description |
|---|---|---|
| imageFile | const System::String& | Path to the image file. |
| topMargin | float | Margin at top of the page. |
See Also
- Class String
- Class PdfFileStamp
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileStamp::AddHeader(const System::String&, float, float, float) method
Adds image as header on the pages.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::String &imageFile, float topMargin, float leftMargin, float rightMargin)
| Parameter | Type | Description |
|---|---|---|
| imageFile | const System::String& | Path to the image file. |
| topMargin | float | Margin at top of the page. |
| leftMargin | float | Margin at left side of the page. |
| rightMargin | float | Margin at right side of the page. |
See Also
- Class String
- Class PdfFileStamp
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++