Exemplo n.º 1
0
 public PdfPage Add(int id, int widthPt, int heightPt) {
     PdfPage page = new PdfPage(id, widthPt, heightPt);
     _pages.Add(page);
     return page;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds a new page.
 /// </summary>
 /// <param name="widthPt">Width in point</param>
 /// <param name="heightPt">Height in point</param>
 public void AddPage(int widthPt, int heightPt) {
     int id = _xRefs.CreateObject();
     _currentPage = _pages.Add(id, widthPt, heightPt);
 }