skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadDiagramPrintPreview

Visual control used to display how the diagram will be paginated before printing.

Inheritance
System.Object
RadDiagramPrintPreview
Namespace: Telerik.Windows.Controls.Diagrams.Extensions
Assembly: Telerik.Windows.Controls.Diagrams.Extensions.dll

Syntax

[TelerikToolboxCategory("Diagram")]
public class RadDiagramPrintPreview : Control

Constructors

RadDiagramPrintPreview()

Initializes a new instance of the RadDiagramPrintPreview class.

Declaration
public RadDiagramPrintPreview()

Fields

DiagramProperty

Identifies the Diagram dependency property.

Declaration
public static readonly DependencyProperty DiagramProperty
Field Value
System.Windows.DependencyProperty

DpiProperty

Identifies the Dpi dependency property.

Declaration
public static readonly DependencyProperty DpiProperty
Field Value
System.Windows.DependencyProperty

ItemStyleProperty

Identifies the ItemStyle dependency property.

Declaration
public static readonly DependencyProperty ItemStyleProperty
Field Value
System.Windows.DependencyProperty

PreviewPrintEvent

Identifies the PreviewPrint routed event.

Declaration
public static readonly RoutedEvent PreviewPrintEvent
Field Value
System.Windows.RoutedEvent

PrintContentMarginProperty

Identifies the PrintContentMargin dependency property.

Declaration
public static readonly DependencyProperty PrintContentMarginProperty
Field Value
System.Windows.DependencyProperty

PrintedEvent

Identifies the Printed routed event.

Declaration
public static readonly RoutedEvent PrintedEvent
Field Value
System.Windows.RoutedEvent

PrintScaleFactorProperty

Registers the PrintScaleFactor dependency property.

Declaration
public static readonly DependencyProperty PrintScaleFactorProperty
Field Value
System.Windows.DependencyProperty

ScaleDownFactorProperty

Identifies the ScaleDownFactor dependency property.

Declaration
public static readonly DependencyProperty ScaleDownFactorProperty
Field Value
System.Windows.DependencyProperty

Properties

Diagram

Gets or sets the diagram.

Declaration
public RadDiagram Diagram { get; set; }
Property Value
RadDiagram

The diagram.

Dpi

Gets or sets the resolution used during print.

Declaration
public double Dpi { get; set; }
Property Value
System.Double

HasPrintErrors

Checked whether there are print errors.

Declaration
public bool HasPrintErrors { get; }
Property Value
System.Boolean

ItemStyle

Gets or sets the print preview item style.

Declaration
public Style ItemStyle { get; set; }
Property Value
System.Windows.Style

PagesInfo

Gets the pages info.

Declaration
public RadDiagramPagesInfo PagesInfo { get; }
Property Value
RadDiagramPagesInfo

PrintContentMargin

Gets or sets the margin for every page.

Declaration
public Thickness PrintContentMargin { get; set; }
Property Value
System.Windows.Thickness

PrintScaleFactor

Gets or sets the scale factor.

Declaration
public double PrintScaleFactor { get; set; }
Property Value
System.Double

The scale factor.

ScaleDownFactor

Gets or sets the scale down factor.

Declaration
public double ScaleDownFactor { get; set; }
Property Value
System.Double

The scale down factor.

Methods

OnApplyTemplate()

Declaration
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

Print(String)

Prints the associated diagram.

Declaration
public void Print(string title)
Parameters
System.String title

Title used in the print documents queue.

Events

PreviewPrint

Occurs before diagram printing starts.

Declaration
public event EventHandler<RoutedEventArgs> PreviewPrint
Event Type
System.EventHandler<System.Windows.RoutedEventArgs>

Printed

Occurs after diagram printing is completed.

Declaration
public event EventHandler<RoutedEventArgs> Printed
Event Type
System.EventHandler<System.Windows.RoutedEventArgs>

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.