How do I set Page Width, Height to Letter Size when I create a PDF Document?

Document doc = new Document();
doc.PageInfo.Width = ?;
doc.PageInfo.Height = ?;

Is there any other way than the one below?
doc.PageInfo.Width = 612;
doc.PageInfo.Height = 792;

@Junyoung

Thanks for your inquiry.

You may please use Aspose.Pdf.PageSize Enumeration, in order to set the Page Size, as per your desire. Please check following code snippet:

Document doc = new Document();
doc.PageInfo.Height = Aspose.Pdf.PageSize.PageLetter.Height;
doc.PageInfo.Width = Aspose.Pdf.PageSize.PageLetter.Width; 

In case of any further assistance, please feel free to let us know.

Thank you for let me know