Gets the paged bitmap source representing the headered content of the control for the specified page indexes.
Namespace:
DlhSoft.Windows.ControlsAssembly: DlhSoft.ProjectData.Management.Controls (in DlhSoft.ProjectData.Management.Controls.dll)
Syntax
C# |
---|
public BitmapSource GetExportBitmapSource( Size pageSize, Thickness margin, Pen border, Brush background, int horizontalPageIndex, int verticalPageIndex, double resolution ) |
Visual Basic (Declaration) |
---|
Public Function GetExportBitmapSource ( _ pageSize As Size, _ margin As Thickness, _ border As Pen, _ background As Brush, _ horizontalPageIndex As Integer, _ verticalPageIndex As Integer, _ resolution As Double _ ) As BitmapSource |
Parameters
- pageSize
- Type: System.Windows..::.Size
The page size to consider.
- margin
- Type: System.Windows..::.Thickness
The margin to use.
- border
- Type: System.Windows.Media..::.Pen
The border to use.
- background
- Type: System.Windows.Media..::.Brush
The background to use.
- horizontalPageIndex
- Type: System..::.Int32
The horizontal index of the exported page.
- verticalPageIndex
- Type: System..::.Int32
The horizontal index of the exported page.
- resolution
- Type: System..::.Double
The resolution to use (by default 96 DPI).