C1PrintPreviewControl/C1PrintDocument repaint on NewPage

Posted by: ivan.stanojkovski on 24 October 2024, 1:10 pm EST

  • Posted 24 October 2024, 1:10 pm EST

    Hi.

    We are currently using your C1PrintPreviewControl and C1PrintDocument in our project. I would like to inquire if it is possible to automatically refresh the display in C1PrintPreviewControl when adding a new page using the C1PrintDocument.NewPage method.

    Specifically, our goal is to allow users to view all the pages created up to that point in the document, rather than waiting for the entire document—potentially 50 to 100 pages—to be generated and displayed only after calling the EndDoc method. This enhancement would significantly improve the user experience by providing immediate feedback as new pages are added.

    Thank you for your assistance.

    Best regards,

  • Posted 25 October 2024, 4:46 am EST

    Hello,

    We have raised your requirement to the development team to get their insights on it. Rest assured, we’ll get back to you once we have more information.

    [Internal tracking ID: C1WIN-33208]

    Regards,

    Uttkarsh.

  • Posted 13 November 2024, 5:20 am EST

    Hello

    I would like to kindly request an update on the status of the issue I reported. Any information regarding the progress or estimated timelines for resolution would be greatly appreciated.

    Thank you for your time and assistance.

  • Posted 13 November 2024, 8:30 am EST

    Hello,

    Apologies for the inconvenience.

    We are getting in touch with the development team to get updates on your case. We’ll get back to you as soon as we can.

    Regards,

    Uttkarsh.

  • Posted 17 January 2025, 6:45 am EST

    Hello

    Apologies, it has already been two months since your last response. Could you please provide an update on the status of this case?

    Thank you for your time and assistance.

  • Posted 21 January 2025, 8:41 am EST

    Hello,

    Apologies for the inconvenience caused by the delayed response.

    Currently, your requirement is not possible using the C1PrintPreviewControl, i.e., after a document is created, no display refresh method or event is called.

    • Specifically, our goal is to allow users to view all the pages created up to that point in the document, rather than waiting for the entire document …

      A better approach for your use case could be to virtualize the document generation in C1PrintPreviewControl. This would allow the document to be displayed in the preview control while continuing to generate in the background, making the experience smoother and more efficient.

      Please let us know if this approach aligns with your requirements. We are currently discussing with the team whether it is feasible to implement virtualization for document generation within C1PrintPreviewControl.

      Thank you for your patience.

    Regards,

    Uttkarsh.

  • Posted 27 January 2025, 4:09 am EST

    Thank you for the suggestion. I agree that virtualizing the document generation in C1PrintPreviewControl would be a much better approach and would indeed make the experience smoother and more efficient. It aligns perfectly with our requirements.

    Could you please provide an estimated timeline for when this could be implemented? Additionally, could you clarify which versions this will be supported in?

    Thanks again for your help and looking forward to your response.

  • Posted 28 January 2025, 1:48 am EST

    Hello,

    As per the team, it is already available in C1PrintPreviewControl. The document is displayed while it is loading in background. Please refer to the attached video and sample.

    video: behavior.zip (https://drive.mescius.io/download?file=ExternalShare/WinForms/Videos/C1PrintPreviewControl_Virtualization.zip)

    sample: PrintPreviewControl_RefreshOnNewPage.zip

    Regards,

    Uttkarsh.

Need extra support?

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

Learn More

Forum Channels