Class RadDiagramPrintPreview
Visual control used to display how the diagram will be paginated before printing.
Inheritance
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>
|