FlexGrid for WPF | ComponentOne
C1.WPF.Grid Assembly / C1.WPF.Grid Namespace / FlexGrid Class / GetPageImage Method / GetPageImage(GridCellRange,Size,GridScaleMode) Method
GridCellRange to include in the image.
Size of the content area of pages in pixels.
GridScaleMode that determine how will the image get scaled.

In This Topic
    GetPageImage(GridCellRange,Size,GridScaleMode) Method
    In This Topic
    Gets a System.Windows.FrameworkElement that represents a given part of the grid stretched to desired size.
    Syntax
    'Declaration
     
    Public Overloads Function GetPageImage( _
       ByVal rng As GridCellRange, _
       ByVal contentSize As Size, _
       Optional ByVal scaleMode As GridScaleMode _
    ) As FrameworkElement
    public FrameworkElement GetPageImage( 
       GridCellRange rng,
       Size contentSize,
       GridScaleMode scaleMode
    )

    Parameters

    rng
    GridCellRange to include in the image.
    contentSize
    Size of the content area of pages in pixels.
    scaleMode
    GridScaleMode that determine how will the image get scaled.

    Return Value

    A System.Windows.FrameworkElement that represents a given part of the grid.
    Remarks
    Remember to call DisposePageImages after done using the page image to release memory.
    See Also