Class RadDiagramPrintSettings
Encapsulates the diagram printing info.
Inheritance
Namespace: Telerik.Windows.Controls.Diagrams
Assembly: Telerik.Windows.Controls.Diagrams.dll
Syntax
public class RadDiagramPrintSettings : Object
Constructors
RadDiagramPrintSettings(String, Thickness, Double, DiagramPrintPosition, Double, Nullable<Int32>, Nullable<Int32>)
Initializes a new instance of the RadDiagramPrintSettings class.
Declaration
public RadDiagramPrintSettings(string title, Thickness pageMargin, double dpi = 96, DiagramPrintPosition diagramPosition, double scaleFactor = 1, Nullable<int> pagesHorizontalCount = null, Nullable<int> pagesVerticalCount = null)
Parameters
System.String
title
The title of the printed document. |
System.Windows.Thickness
pageMargin
The margin between page content and page edges. |
System.Double
dpi
The resolution used during printing. |
DiagramPrintPosition
diagramPosition
The way diagram is positioned over the print pages. |
System.Double
scaleFactor
The scale factor diagram indicating how scaled diagram will be in the printed pages. |
System.Nullable<System.Int32>
pagesHorizontalCount
Count of print page columns. |
System.Nullable<System.Int32>
pagesVerticalCount
Count of print page rows. |
Fields
Default
The default diagram print settings.
Declaration
public static readonly RadDiagramPrintSettings Default
Field Value
RadDiagramPrintSettings
|
Properties
DiagramPosition
Gets a value indicating how diagram is positioned over the print pages.
Declaration
public DiagramPrintPosition DiagramPosition { get; }
Property Value
DiagramPrintPosition
|
Dpi
Gets the resolution used during printing.
Declaration
public double Dpi { get; }
Property Value
System.Double
|
PageMargin
Gets the margin between page content and page edges.
Declaration
public Thickness PageMargin { get; }
Property Value
System.Windows.Thickness
|
PagesHorizontalCount
Gets a value indicating the print pages columns count.
Declaration
public Nullable<int> PagesHorizontalCount { get; set; }
Property Value
System.Nullable<System.Int32>
|
PagesVerticalCount
Gets a value indicating the print pages rows count.
Declaration
public Nullable<int> PagesVerticalCount { get; }
Property Value
System.Nullable<System.Int32>
|
ScaleFactor
Gets a value indicating the scale applied to the printed diagram.
Declaration
public double ScaleFactor { get; }
Property Value
System.Double
|
Title
Gets the title of the printed document.
Declaration
public string Title { get; }
Property Value
System.String
|