This is an archived forum post. The information may be outdated. Contact us if you have any questions.

How to Set Page settings in the code

Arul wrote on 2015-01-31:
Hi,

I am using pdfcrowd and convert my page to pdf, i need to set page settings for this,how to i do.
Give some tips.
Tags: Asp.net,C#
support wrote on 2015-02-02:
Hello,

You can use the setPageWidth and setPageHeight API functions. An example:
client.setPageWidth("8.5in");
client.setPageHeight("11in");