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