C1FlexReport Print Rotate

Posted by: info on 3 June 2020, 9:59 am EST

    • Post Options:
    • Link

    Posted 3 June 2020, 9:59 am EST

    Hi,

    how can I print a c1FlexReport by rotating it 90 °?

    Thanks, regards, Marco

  • Posted 3 June 2020, 9:59 am EST

    I would like to use only the c1flexreport without the c1flexviewer

  • Posted 4 June 2020, 6:10 am EST

    Hello,

    It is not possible to rotate the report directly without using the FlexViewer.

    You can try printing the report in landscape mode if it fulfills your requirement. To print the report in the landscape, use the PrintOptions overload of the Print method of C1FlexReport.

    Please use the code snippet given below to print the report in landscape mode :

    Dim result As C1PrintOptions = New C1PrintOptions()
    result.PrinterSettings = New Printing.PrinterSettings()
    result.PrinterSettings.DefaultPageSettings.Landscape = True
    C1FlexReport1.Layout.Orientation = C1.Win.FlexReport.OrientationEnum.Landscape
    C1FlexReport1.Render()
    C1FlexReport1.Print(result)
    

    Regards,

    Prabhat Sharma.

Need extra support?

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

Learn More

Forum Channels