Landscape page orientation is not working when exporting Pdf

Hi,

I'm using the gantt component (v20.1.52) and am trying to set the orientation to Landscape.

let exportProperties: PdfExportProperties = {
      pageOrientation: this.state.pageOrientation
    };

    this.ganttInstance.pdfExport(exportProperties);

I'm getting a pdf in portrait mode.

Am I doing something wrong?
Thank you in advance,
Matteo

5 Replies 1 reply marked as answer

PS Premkumar Sudalaimuthu Syncfusion Team May 5, 2022 02:32 PM UTC

Hi Matteo,


We need time to validate the issue and will share further details within two business days on 9th May 2022. Until then we appreciate your patience.


Regards,

Premkumar S



PS Premkumar Sudalaimuthu Syncfusion Team May 6, 2022 11:17 AM UTC

Hi Matteo ,


Yes, the reported issue has been replicated. We have logged a bug report for the issue. You can track the status of the bug from the below feedback link. We will include a fix for the issue in our weekly patch release scheduled for 18th May 2022. Until then we appreciate your patience.


Feedback: https://www.syncfusion.com/feedback/34704/landscape-page-orientation-is-not-working-when-exporting-pdf


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Premkumar S



PS Premkumar Sudalaimuthu Syncfusion Team May 18, 2022 12:40 PM UTC

Hi matteo ,


Thank you for your patience!!!


We are glad to announce that your reported issue “ landscape-page-orientation-is-not-working-when-exporting-pdf”  has been fixed in the latest version 20.1.56.  Please find the release notes from below link.


Release notes: https://ej2.syncfusion.com/react/documentation/release-notes/20.1.56/?type=all#gantt


Sample: https://stackblitz.com/edit/react-7am2q3-73ao6q?file=package.json


Regards,

Premkumar S


Marked as answer

MA matteomessmer May 20, 2022 12:40 PM UTC

Hi Premkumar,

thank you very much. It works now.


Bye,




RP Ranjani Prabakaran Syncfusion Team May 23, 2022 04:31 AM UTC

You are welcome. Please get back to us if you need any further assistance.


Regards,


Ranjani


Loader.
Up arrow icon