FlexGrid for WinRT
GetPageImages(CellRange,ScaleMode,Size,Int32) Method

Range of cells to print.
How to scale the grid to fit on the pages.
Size of the pages in pixels.
Maximum number of pages to return.
Gets a list of elements that represent parts of the grid fit for rendering into pages of a document.
Syntax
'Declaration
 
Public Overloads Function GetPageImages( _
   ByVal rng As CellRange, _
   ByVal scaleMode As ScaleMode, _
   ByVal pageSize As Windows.Foundation.Size, _
   ByVal maxPages As System.Integer _
) As System.Collections.Generic.List(Of FrameworkElement)
public System.Collections.Generic.List<FrameworkElement> GetPageImages( 
   CellRange rng,
   ScaleMode scaleMode,
   Windows.Foundation.Size pageSize,
   System.int maxPages
)

Parameters

rng
Range of cells to print.
scaleMode
How to scale the grid to fit on the pages.
pageSize
Size of the pages in pixels.
maxPages
Maximum number of pages to return.

Return Value

A list with elements that correspond to the pages.
Remarks

The elements returned in the list represent portions of the grid that correspond to individual pages in a document.

The scaleMode and pageSize parameters define how many pages are returned and the data contained in each page.

The elements returned in the list may be rendered directly into the document (by assigning them to the PageVisual property of the PrintPage event parameter), or they may be combined with other elements in a template to provide a letterhead, headers, footers, and additional document content.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGrid Class
C1FlexGrid Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum  |   Documentation Feedback