Gets the paged bitmap source representing the headered content of the control for the specified page indexes.

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.ProjectData.GanttChart.Controls (in DlhSoft.ProjectData.GanttChart.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).

Return Value

The bitmap source representing the headered content of the control for the specified page.

See Also