[]
Gets a FrameworkElement that represents a given part of the grid.
public FrameworkElement GetPageImage(GridCellRange rng, GridScaleMode scaleMode = GridScaleMode.ActualSize)
Type | Name | Description |
---|---|---|
GridCellRange | rng | GridCellRange to include in the image. |
GridScaleMode | scaleMode | GridScaleMode that determine how will the image get scaled. |
Type | Description |
---|---|
FrameworkElement | A FrameworkElement that represents a given part of the grid. |
Remember to call DisposePageImages() after done using the page image to release memory.
Gets a FrameworkElement that represents a given part of the grid stretched to desired size.
public FrameworkElement GetPageImage(GridCellRange rng, Size contentSize, GridScaleMode scaleMode = GridScaleMode.ActualSize)
Type | Name | Description |
---|---|---|
GridCellRange | rng | GridCellRange to include in the image. |
Size | contentSize | Size of the content area of pages in pixels. |
GridScaleMode | scaleMode | GridScaleMode that determine how will the image get scaled. |
Type | Description |
---|---|
FrameworkElement | A FrameworkElement that represents a given part of the grid. |
Remember to call DisposePageImages() after done using the page image to release memory.