PdfFileStamp.AddFooter

AddFooter(FormattedText, float)

Adds footer to the pages of the document.

public void AddFooter(FormattedText formattedText, float bottomMargin)
ParameterTypeDescription
formattedTextFormattedTextFormattedText object which contains text of the footer and text properties.
bottomMarginSingleMargin at the top of page.

Examples

PdfFileStamp stamp = new PdfFileStamp("input.pdf", "output.pdf");
stamp.AddFooter(new FormattedText("Foot of the page"), 10);

See Also


AddFooter(FormattedText, float, float, float)

Adds footer to the pages of the document.

public void AddFooter(FormattedText formattedText, float bottomMargin, float leftMargin, 
    float rightMargin)
ParameterTypeDescription
formattedTextFormattedTextFormattedText object which contains footer text and text properties.
bottomMarginSingleMargin at the bottom of the page.
leftMarginSingleMargin at the left side of the page.
rightMarginSingleMargin at the right side of the page.

Examples

PdfFileStamp stamp = new PdfFileStamp("input.pdf", "output.pdf");
stamp.AddFooter(new FormattedText("Foot of the page"), 10, 50, 50);

See Also


AddFooter(string, float)

Adds image as footer to the pages of the document.

public void AddFooter(string imageFile, float bottomMargin)
ParameterTypeDescription
imageFileStringImage file name and path.
bottomMarginSingleMargin at the bottom of the page.

Examples

PdfFileStamp fileStamp = new PdfFileStamp("input.pdf", output.pdf");
Stream input = new FileStream(TestSettings.GetInputFile("test.jpg"), FileMode.Open, FileAccess.Read);
fileStamp.AddFooter("image.jpg", 50);
fileStamp.Close();

See Also


AddFooter(string, float, float, float)

Adds image as footer of the pages.

public void AddFooter(string imageFile, float bottomMargin, float leftMargin, float rightMargin)
ParameterTypeDescription
imageFileStringIamge file name and path.
bottomMarginSingleMargin at the bottom of the page.
leftMarginSingleMargin at the left side of the page.
rightMarginSingleMargin at the right side of the page.

Examples

PdfFileStamp fileStamp = new PdfFileStamp("input.pdf", output.pdf");
Stream input = new FileStream(TestSettings.GetInputFile("test.jpg"), FileMode.Open, FileAccess.Read);
fileStamp.AddFooter("image.jpg", 50, 100, 100);
fileStamp.Close();

See Also


AddFooter(Stream, float)

Adds image as footer of the page.

public void AddFooter(Stream imageStream, float bottomMargin)
ParameterTypeDescription
imageStreamStreamStream contains image data.
bottomMarginSingleMargin at the bottom of the page.

Examples

PdfFileStamp fileStamp = new PdfFileStamp("input.pdf", output.pdf");
Stream input = new FileStream(TestSettings.GetInputFile("test.jpg"), FileMode.Open, FileAccess.Read);
fileStamp.AddFooter(new FileStream("image.jpg", FileMode.Open, FileAccess.Read), 50);
fileStamp.Close();

See Also


AddFooter(Stream, float, float, float)

Adds image as footer of the page.

public void AddFooter(Stream imageStream, float bottomMargin, float leftMargin, float rightMargin)
ParameterTypeDescription
imageStreamStreamStream contains image data.
bottomMarginSingleMargin at the bottom of the page.
leftMarginSingleMargin at the left side of the page.
rightMarginSingleMargin at the right side of the page.

Examples

PdfFileStamp fileStamp = new PdfFileStamp("input.pdf", output.pdf");
Stream input = new FileStream(TestSettings.GetInputFile("test.jpg"), FileMode.Open, FileAccess.Read);
fileStamp.AddFooter(new FileStream("image.jpg", FileMode.Open, FileAccess.Read), 50, 50, 50);
fileStamp.Close();

See Also