New to Telerik UI for WPFStart a free 30-day trial

Encapsulates the diagram printing info.

Definition

Namespace:Telerik.Windows.Controls.Diagrams

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

C#
public class RadDiagramPrintSettings

Inheritance: objectRadDiagramPrintSettings

Constructors

Initializes a new instance of the RadDiagramPrintSettings class.

C#
public RadDiagramPrintSettings(string title, Thickness pageMargin, double dpi = 96, DiagramPrintPosition diagramPosition = DiagramPrintPosition.Default, double scaleFactor = 1, int? pagesHorizontalCount = null, int? pagesVerticalCount = null)
Parameters:titlestring

The title of the printed document.

pageMarginThickness

The margin between page content and page edges.

dpidouble

The resolution used during printing.

diagramPositionDiagramPrintPosition

The way diagram is positioned over the print pages.

scaleFactordouble

The scale factor diagram indicating how scaled diagram will be in the printed pages.

pagesHorizontalCountint?

Count of print page columns.

pagesVerticalCountint?

Count of print page rows.

Fields

The default diagram print settings.

C#
public static readonly RadDiagramPrintSettings Default

Properties

Gets a value indicating how diagram is positioned over the print pages.

C#
public DiagramPrintPosition DiagramPosition { get; }

Gets the resolution used during printing.

C#
public double Dpi { get; }

PageMargin

Thickness

Gets the margin between page content and page edges.

C#
public Thickness PageMargin { get; }

Gets a value indicating the print pages columns count.

C#
public int? PagesHorizontalCount { get; set; }

Gets a value indicating the print pages rows count.

C#
public int? PagesVerticalCount { get; }

Gets a value indicating the scale applied to the printed diagram.

C#
public double ScaleFactor { get; }

Gets the title of the printed document.

C#
public string Title { get; }