Hi,
I am using the following function to create PDF.
HtmlConverter.Convert(@"D:\Exelon-Proj-data\HTML_Samples\M212.html", fileName,
//enable javascript
true,
//load timeout
100 * 1000,
//page size
new Size(612, 792),
//new Size(700, 500),
//page margins
new PdfMargins(10, 60));
I am just confused about how can I give page orientation (Landscape, portrait) by using this "new Size (612, 792)" parameter, because I don't know the exact Hight and width for Portrait and Landscape. please help me in this.