Gets a paged drawing visual representing the headered content of the control for the specified page indexes.

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.ProjectData.Management.Controls (in DlhSoft.ProjectData.Management.Controls.dll)

Syntax

C#
public DrawingVisual GetExportDrawingVisual(
	Size pageSize,
	Thickness margin,
	Pen border,
	Brush background,
	int horizontalPageIndex,
	int verticalPageIndex
)
Visual Basic (Declaration)
Public Function GetExportDrawingVisual ( _
	pageSize As Size, _
	margin As Thickness, _
	border As Pen, _
	background As Brush, _
	horizontalPageIndex As Integer, _
	verticalPageIndex As Integer _
) As DrawingVisual

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.

Return Value

The drawing visual representing the headered content of the control for the specified page.

Implements

IExportableControl..::.GetExportDrawingVisual(Size, Thickness, Pen, Brush, Int32, Int32)

See Also