Quantcast
Viewing all articles
Browse latest Browse all 3131

How to fix the page height automatically in Aspose Pdf

Aspose.Pdf.Generator.Pdf pdf1 = new Aspose.Pdf.Generator.Pdf();
 Aspose.Pdf.Generator.Section sec1 = pdf1.Sections.Add();
sec1.PageInfo.PageHeight = 4000;

I don't want to hardcoded the page height.

I just want it should be fixed automatically according to data or number of rows present in the pdf.

Viewing all articles
Browse latest Browse all 3131

Trending Articles