Class RadDiagramPagesInfo
Encapsulates data regarding print preview.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Diagrams
Assembly: Telerik.Windows.Controls.Diagrams.dll
Syntax
public class RadDiagramPagesInfo
Constructors
RadDiagramPagesInfo(IEnumerable<WriteableBitmap>, Int32, 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
System.Collections.Generic.IEnumerable<System.Windows.Media.Imaging.WriteableBitmap>
pages
Collection with print pages. |
System.Int32
numberOfColumns
Number of columns in the pages collection. |
System.Windows.Size
pageSize
Size of the page. |
System.Windows.Thickness
pageMargin
Margin around the page content. |
Properties
Background
Gets or sets the background for each page.
Declaration
public Brush Background { get; set; }
Property Value
System.Windows.Media.Brush
|
Dpi
Gets or sets the resolution to use during printing.
Declaration
public double Dpi { get; set; }
Property Value
System.Double
|
NumberOfColumns
Gets the number of columns in which pages are arranged.
Declaration
public int NumberOfColumns { get; }
Property Value
System.Int32
|
PageMargin
Gets the margin on each page.
Declaration
public Thickness PageMargin { get; }
Property Value
System.Windows.Thickness
|
Pages
Gets the collection with images of all print pages. This property will be obsolete.
Declaration
public IEnumerable<WriteableBitmap> Pages { get; }
Property Value
System.Collections.Generic.IEnumerable<System.Windows.Media.Imaging.WriteableBitmap>
|
PageSize
Gets the size of each page.
Declaration
public Size PageSize { get; }
Property Value
System.Windows.Size
|
Methods
GetPage(Int32)
Returns the page at given index.
Declaration
public WriteableBitmap GetPage(int pageIndex)
Parameters
System.Int32
pageIndex
|
Returns
System.Windows.Media.Imaging.WriteableBitmap
|
GetPageCount()
Returns the number of pages.
Declaration
public int GetPageCount()
Returns
System.Int32
|