Aspose::Pdf::Facades::PdfFileStamp::AddHeader method

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)
ParameterTypeDescription
formattedTextconst System::SharedPtr<FormattedText>&Text for header and properties of the text.
topMarginfloatMargin on the top of page.

See Also

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)
ParameterTypeDescription
formattedTextconst System::SharedPtr<FormattedText>&Formatted text object which contains page text and its properties.
topMarginfloatMargin on the top of the page.
leftMarginfloatMargin on the left of the page.
rightMarginfloatMargin on the right of the page.

See Also

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)
ParameterTypeDescription
imageStreamconst System::SharedPtr<System::IO::Stream>&Stream of the image.
topMarginfloatMargin at top of the page.

See Also

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)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Stream which contains image data.
topMarginfloatMargin at top of the page.
leftMarginfloatMargin at left side of the page.
rightMarginfloatMargin at right side of the page.

See Also

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)
ParameterTypeDescription
imageFileconst System::String&Path to the image file.
topMarginfloatMargin at top of the page.

See Also

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)
ParameterTypeDescription
imageFileconst System::String&Path to the image file.
topMarginfloatMargin at top of the page.
leftMarginfloatMargin at left side of the page.
rightMarginfloatMargin at right side of the page.

See Also