Gets a bitmap representing part of the content of the control, depending on a specified page size and location.
Namespace:
DlhSoft.Windows.Controls.PertAssembly: DlhSoft.ProjectData.PertChart.LightWPF.Controls (in DlhSoft.ProjectData.PertChart.LightWPF.Controls.dll)
Syntax
C# |
---|
public BitmapSource GetExportBitmapSource( Size pageSize, int verticalPageIndex, int horizontalPageIndex, double resolution ) |
Visual Basic (Declaration) |
---|
Public Function GetExportBitmapSource ( _ pageSize As Size, _ verticalPageIndex As Integer, _ horizontalPageIndex As Integer, _ resolution As Double _ ) As BitmapSource |
Parameters
- pageSize
- Type: System.Windows..::.Size
The page size to split the control content on.
- verticalPageIndex
- Type: System..::.Int32
The vertical index of the page to get.
- horizontalPageIndex
- Type: System..::.Int32
The horizontal index of the page to get.
- resolution
- Type: System..::.Double
The resolution to use (by default 96 DPI).