/// <summary> /// creates a copy of this page in order to use it as a template /// </summary> /// <returns></returns> public PdfPage CreateCopy() { PdfPage clone=new PdfPage(); clone.PdfDocument=this.PdfDocument; foreach (PdfObject o in this.PagePdfObjects) clone.PagePdfObjects.Add(o); return clone; }
/// <summary> /// Creates a New Page for the Pdf Document /// </summary> /// <returns> /// /// </returns> public PdfPage NewPage() { PdfPage p=new PdfPage(); p.PdfDocument=this; return p; }