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

PdfFileStamp::AddHeader(System::SharedPtr<FormattedText>, float) method

Adds header to the page.

void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(System::SharedPtr<FormattedText> formattedText, float topMargin)
ParameterTypeDescription
formattedTextSystem::SharedPtr<FormattedText>Text for header and properties of the text.
topMarginfloatMargin on the top of page.

See Also

PdfFileStamp::AddHeader(System::SharedPtr<FormattedText>, float, float, float) method

Adds header to the pages of file.

void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(System::SharedPtr<FormattedText> formattedText, float topMargin, float leftMargin, float rightMargin)
ParameterTypeDescription
formattedTextSystem::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(System::SharedPtr<System::IO::Stream>, float) method

Adds image as header on the pages.

void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(System::SharedPtr<System::IO::Stream> imageStream, float topMargin)
ParameterTypeDescription
imageStreamSystem::SharedPtr<System::IO::Stream>Stream of the image.
topMarginfloatMargin at top of the page.

See Also

PdfFileStamp::AddHeader(System::SharedPtr<System::IO::Stream>, float, float, float) method

Adds image at the top of the page.

void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(System::SharedPtr<System::IO::Stream> inputStream, float topMargin, float leftMargin, float rightMargin)
ParameterTypeDescription
inputStreamSystem::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(System::String, float) method

Adds image as header to the pages of the file.

void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(System::String imageFile, float topMargin)
ParameterTypeDescription
imageFileSystem::StringPath to the image file.
topMarginfloatMargin at top of the page.

See Also

PdfFileStamp::AddHeader(System::String, float, float, float) method

Adds image as header on the pages.

void Aspose::Pdf::Facades::PdfFileStamp::AddHeader(System::String imageFile, float topMargin, float leftMargin, float rightMargin)
ParameterTypeDescription
imageFileSystem::StringPath 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