ComponentOne FlexGrid for UWP
GetGridImage(CellRange,Size) Method

C1.UWP.FlexGrid Assembly > C1.Xaml.FlexGrid Namespace > C1FlexGrid Class > GetGridImage Method : GetGridImage(CellRange,Size) Method
CellRange to include in the image.
The desired page size.
Gets a Windows.UI.Xaml.FrameworkElement that represents a given part of the grid stretched to desired size.
Syntax
'Declaration
 
Public Overloads Function GetGridImage( _
   ByVal rng As CellRange, _
   ByVal size As Windows.Foundation.Size _
) As Windows.UI.Xaml.FrameworkElement
public Windows.UI.Xaml.FrameworkElement GetGridImage( 
   CellRange rng,
   Windows.Foundation.Size size
)

Parameters

rng
CellRange to include in the image.
size
The desired page size.

Return Value

A Windows.UI.Xaml.FrameworkElement that represents a given part of the grid.
Remarks
The C1.Xaml.FlexGrid control uses this method when printing scale mode is set to ScaleMode.PageWidth. This method ignores the size of FlexGrid control being printed. Instead, it stretches star sizing columns according to the page width.
See Also

Reference

C1FlexGrid Class
C1FlexGrid Members
Overload List