RadDiagramPagesInfo
Class
Encapsulates data regarding print preview.
Definition
Namespace:Telerik.Windows.Controls.Diagrams
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
C#
public class RadDiagramPagesInfo
Inheritance: objectRadDiagramPagesInfo
Constructors
Initializes a new instance of the RadDiagramPagesInfo class. This constructor will be obsolete.
C#
public RadDiagramPagesInfo(IEnumerable<WriteableBitmap> pages, int numberOfColumns, Size pageSize, Thickness pageMargin)
Collection with print pages.
numberOfColumnsintNumber of columns in the pages collection.
pageSizeSizeSize of the page.
pageMarginThicknessMargin around the page content.
Properties
Background
Brush
Gets or sets the background for each page.
C#
public Brush Background { get; set; }
Gets the number of columns in which pages are arranged.
C#
public int NumberOfColumns { get; }
PageMargin
Thickness
Gets the margin on each page.
C#
public Thickness PageMargin { get; }
Pages
IEnumerable<WriteableBitmap>
Gets the collection with images of all print pages. This property will be obsolete.
C#
public IEnumerable<WriteableBitmap> Pages { get; }
PageSize
Size
Gets the size of each page.
C#
public Size PageSize { get; }
Methods
GetPage(int)
WriteableBitmap
Returns the page at given index.
Returns the number of pages.