Class
RadDiagramPagesInfo

Encapsulates data regarding print preview.

Definition

Namespace:Telerik.Windows.Controls.Diagrams

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

cs-api-definition
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

cs-api-definition
public RadDiagramPagesInfo(IEnumerable<WriteableBitmap> pages, int numberOfColumns, Size pageSize, Thickness pageMargin)

Parameters

pages

IEnumerable<WriteableBitmap>

Collection with print pages.

numberOfColumns

int

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

cs-api-definition
public Brush Background { get; set; }

Property Value

Brush

Dpi

Gets or sets the resolution to use during printing.

Declaration

cs-api-definition
public double Dpi { get; set; }

Property Value

double

NumberOfColumns

Gets the number of columns in which pages are arranged.

Declaration

cs-api-definition
public int NumberOfColumns { get; }

Property Value

int

PageMargin

Gets the margin on each page.

Declaration

cs-api-definition
public Thickness PageMargin { get; }

Property Value

Thickness

PageSize

Gets the size of each page.

Declaration

cs-api-definition
public Size PageSize { get; }

Property Value

Size

Pages

Gets the collection with images of all print pages. This property will be obsolete.

Declaration

cs-api-definition
public IEnumerable<WriteableBitmap> Pages { get; }

Property Value

IEnumerable<WriteableBitmap>

Methods

GetPage(int)

Returns the page at given index.

Declaration

cs-api-definition
public WriteableBitmap GetPage(int pageIndex)

Parameters

pageIndex

int

Returns

WriteableBitmap

GetPageCount()

Returns the number of pages.

Declaration

cs-api-definition
public int GetPageCount()

Returns

int