Save Completed Forms to PDF

Loading...
Sorry, we can't retrieve the data from server. Please comeback later.

SurveyPDF options

You may pass second optional parameter to SurveyPDF object with pdf render options

var options = {
	fontSize: 14,
	margins: {
		top: 10
	}
};
var survey = new SurveyPDF.SurveyPDF(json, options);

Orientation

Set orientation parameter to "p" or "l" to set portrait or landscape orientattion or document

var options = {
    orientation: "p"
};

Format

You can set format parameter with type of paper or exact size in mm

var options = {
    format: "a4"
};
var options = {
    format: [210.0, 297.0]
};

Types of paper:

  • a0 – a10, b0 – b10, c0 – c10, dl
  • letter, government-letter, legal, junior-legal
  • ledger, tabloid, credit-card

Font size

Set the base font size of PDF document. Titles, descriptions and sizes of boxes will be scaled from it

var options = {
    fontSize: 14
};

Margins

Allows to set margins on pdf pages

var options = {
    margins: {
        top: 18,
        bot: 10,
        left: 12,
        right: 10
    }
};

Compress

Set it true to produce compressed PDF. Compressed PDF doesn't support setting custom fonts

var options = {
    compress: true
};

Commercial License

You have right to set any of these parameters to true if you have bought the commercial licence only. It will remove the text about non-commerical usage on the top of the document. Setting any of these parameters true without having a commercial licence is illegal

var options = {
    commercial: true
};
or

var options = {
    haveCommercialLicense: true
};
Settings

Why we use cookies.

This site uses cookies to make your browsing experience more convenient and personal. Cookies store useful information on your computer to help us improve the efficiency and relevance of our site for you. In some cases, they are essential to making the site work properly. By accessing this site, you consent to the use of cookies.

For more information, refer to DevSoft Baltic’ privacy policy and cookie policy.

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.