How do I set custom page size for the PDF document?
(Views :1644)

We can set the custom page size for the PDF document by using the Size property of the PageSettings class. We can specify the width and height of the PDF page in points.

C#
//Create a new document.
PdfDocument doc = new PdfDocument();
// Setting custom size
doc.PageSettings.Size = new SizeF(500, 600);
VB
'Create a new document.
Dim doc As PdfDocument = New PdfDocument()
' Setting custom size
doc.PageSettings.Size = New SizeF(500, 600)

Please do find the sample from the below specified location which demontrates the above specified feature,

http://www.syncfusion.com/support/user/uploads/PageSize_fefeb26e.zip
::adCenter::