printInfo options that are relevant for savePDF

Posted by: s7subash on 10 September 2018, 7:44 pm EST

    • Post Options:
    • Link

    Posted 10 September 2018, 7:44 pm EST

    Hi Team,

    I would like to know if there is some documentation about what options from the

    printInfo
    object are relevant for the ```

    savePDF()

    
    Thanks
    
    Subhash
  • Posted 11 September 2018, 11:12 pm EST

    Hi Subhash,

    All PrintInfo settings should be applied to exported PDF. May I know which settings are seeing not working for you?

    Thanks,

    Deepak Sharma

  • Posted 11 September 2018, 11:25 pm EST

    Hi Deepak,

    I have been trying to do the following things

    1. Control margin size in the PDF pages by setting the margin property, currently they do not seem to be getting applied.
    2. Change the layout from portrait to landscape mode, which also seems to be not working
    3. Specify how many pages tall and how many pages wide a particular sheet should render within e.g. If I were to specify that the sheet needs to be 2 pages wide and 2 pages tall then the

      entire grid should be adjusted to fit within a total of 4 pages in the PDF format.

    Any solution to the above mentioned problems would really be helpful. Also if there is a demo where I can test out these things please do point me to it and I will gladly take a look.

    Regards

    Subhash

  • Posted 12 September 2018, 11:14 pm EST

    Hi Subhash,

    Please refer to the attached sample and exported PDF where all settings can be seen exported to PDF.

    Thanks,

    Deepak SharmaSpreadJSPDFExport.zip

  • Posted 19 September 2018, 7:14 pm EST

    Hi Deepak,

    This code snippet was really helpful thanks for that, it also answers my question about all the settings I mentioned above.

    Regards

    Subhash

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels