I need to know how can I disable paging in PDF document. I want to have only one page , as long as my content. I'm using Aspose.Pdf for .NET API to build Table in pdf document. In fact I need to optimize content for needle printers so paging have to be disabled.
Pdf documentPDF = new Pdf();
documentPDF.PageSetup.PageHeight = Aspose.Pdf.PageSize.A4Height;
documentPDF.PageSetup.PageWidth = Aspose.Pdf.PageSize.A4Width;
documentPDF.PageSetup.Margin.Left = 20;
documentPDF.PageSetup.Margin.Right = 20;
documentPDF.PageSetup.Margin.Top = 0;
documentPDF.PageSetup.Margin.Bottom = 0;
I was also wondering if those methods will work with multiple tables in document.
This message was posted using Email2Forum by codewarior.