- Code: Select all
Spire.Pdf.PdfDocument pp = new Spire.Pdf.PdfDocument();
Spire.Pdf.PdfPageSettings pst = new Spire.Pdf.PdfPageSettings();
pst.Size = Spire.Pdf.PdfPageSize.Letter;
pst.Orientation = Spire.Pdf.PdfPageOrientation.Portrait;
If I want the resulting pdf to fit into a single Letter Page what should the width and height of my html be constrained to?