Set Zoom RadPrintPreviewDialog

2 posts, 0 answers
  1. Flavio
    Flavio avatar
    22 posts
    Member since:
    Jan 2011

    Posted 20 Feb 2015 Link to this post

    I need to set the RadPrintPreviewDialog Zoom in 100 %, is it possibile?
  2. Dess
    Dess avatar
    2164 posts

    Posted 25 Feb 2015 Link to this post

    Hello Flavio,

    Thank you for writing.

    In order to achieve your goal, you can use the SetZoom method of the RadPrintPreviewDialog. Here is a sample code snippet demonstrating how to accomplish it with a custom RadGridView:
    public class Grid : RadGridView
        public override string ThemeClassName
                return typeof(RadGridView).FullName;
        public override void PrintPreview(RadPrintDocument document)
            if (document != null)
                document.AssociatedObject = this;
                RadPrintPreviewDialog dialog = new RadPrintPreviewDialog(document);
                dialog.ThemeName = this.ThemeName;

    I hope this information helps. Should you have further questions, I would be glad to help.

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top