Aspose::Pdf::Facades::PdfFileStamp::AddHeader method
Innehåll
[
Dölj
]PdfFileStamp::AddHeader(const System::SharedPtr<FormattedText>&, float) method
Lägger till sidhuvud på sidan.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::SharedPtr<FormattedText> &formattedText, float topMargin)
| Parameter | Typ | Beskrivning |
|---|---|---|
| formattedText | const System::SharedPtr<FormattedText>& | Text för sidhuvud och egenskaper för texten. |
| topMargin | float | Marginal på toppen av sidan. |
Se även
- 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
Lägger till sidhuvud på filens sidor.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::SharedPtr<FormattedText> &formattedText, float topMargin, float leftMargin, float rightMargin)
| Parameter | Typ | Beskrivning |
|---|---|---|
| formattedText | const System::SharedPtr<FormattedText>& | Formaterat textobjekt som innehåller sidans text och dess egenskaper. |
| topMargin | float | Marginal på toppen av sidan. |
| leftMargin | float | Marginal på vänster sida av sidan. |
| rightMargin | float | Marginal på höger sida av sidan. |
Se även
- 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
Lägger till bild som sidhuvud på sidorna.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::SharedPtr<System::IO::Stream> &imageStream, float topMargin)
| Parameter | Typ | Beskrivning |
|---|---|---|
| imageStream | const System::SharedPtr<System::IO::Stream>& | Ström för bilden. |
| topMargin | float | Marginal på toppen av sidan. |
Se även
- 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
Lägger till bild högst upp på sidan.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::SharedPtr<System::IO::Stream> &inputStream, float topMargin, float leftMargin, float rightMargin)
| Parameter | Typ | Beskrivning |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Ström som innehåller bilddata. |
| topMargin | float | Marginal på toppen av sidan. |
| leftMargin | float | Marginal på vänster sida av sidan. |
| rightMargin | float | Marginal på höger sida av sidan. |
Se även
- Typedef SharedPtr
- Class Stream
- Class PdfFileStamp
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileStamp::AddHeader(const System::String&, float) method
Lägger till bild som sidhuvud på filens sidor.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::String &imageFile, float topMargin)
| Parameter | Typ | Beskrivning |
|---|---|---|
| imageFile | const System::String& | Sökväg till bildfilen. |
| topMargin | float | Marginal på toppen av sidan. |
Se även
- Class String
- Class PdfFileStamp
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileStamp::AddHeader(const System::String&, float, float, float) method
Lägger till bild som sidhuvud på sidorna.
void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(const System::String &imageFile, float topMargin, float leftMargin, float rightMargin)
| Parameter | Typ | Beskrivning |
|---|---|---|
| imageFile | const System::String& | Sökväg till bildfilen. |
| topMargin | float | Marginal på toppen av sidan. |
| leftMargin | float | Marginal på vänster sida av sidan. |
| rightMargin | float | Marginal på höger sida av sidan. |
Se även
- Class String
- Class PdfFileStamp
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++