XForm form = new XForm(document, XUnit.FromMillimeter(70), XUnit.FromMillimeter(55));
XGraphics formGfx = XGraphics.FromForm(form);
formGfx.DrawEllipse(XBrushes.Red, 20, 20, 50, 50); …
formGfx.Dispose();
PdfPage page = document.AddPage(); XGraphics gfx = XGraphics.FromPdfPage(page); gfx.DrawImage(form, 20, 50); // Draw form like an image
XPdfForm pdfForm = XPdfForm.FromFile("MyFile.pdf");
pdfForm.PageNumber = 7; // one-based page number