Hi
Thanks for your request. I think that you can try using floating shapes. For example see the following code:
// Create document
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
// Generate some content
for (int i = 0; i < 100; i++)
{
builder.Writeln("this is text of document");
}
// Move DocumentBuilder cursor to the end of document
builder.MoveToDocumentEnd();
// Get page setup of last section of document
PageSetup ps = doc.LastSection.PageSetup;
// Create textbox
Shape textBox = new Shape(doc, ShapeType.TextBox);
Paragraph par = new Paragraph(doc);
par.ParagraphFormat.Alignment = ParagraphAlignment.Center;
Run run = new Run(doc, "this is text at bottom");
par.AppendChild(run);
textBox.AppendChild(par);
builder.CurrentParagraph.AppendChild(textBox);
// Configure textBox
textBox.Width = ps.PageWidth - ps.LeftMargin - ps.RightMargin;
textBox.Height = 50;
// Set position of shape
textBox.RelativeVerticalPosition = RelativeVerticalPosition.Page;
textBox.VerticalAlignment = VerticalAlignment.Bottom;
// Disable borders
textBox.Stroked = false;
// Save document
doc.Save(@"Test236\out.doc");
The same technique you can use for inserting images.
Hope this helps.
Best regards.