Gets the elements to be printed in the foreground (in front of the diagram itself).

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
IEnumerable<UIElement> GetForegroundElements(
	int pageIndex,
	Size pageSize,
	Point printableOrigin,
	Size printableSize
)
Visual Basic (Declaration)
Function GetForegroundElements ( _
	pageIndex As Integer, _
	pageSize As Size, _
	printableOrigin As Point, _
	printableSize As Size _
) As IEnumerable(Of UIElement)

Parameters

pageIndex
Type: System..::.Int32
The page index (0-based).
pageSize
Type: System.Windows..::.Size
The total page size.
printableOrigin
Type: System.Windows..::.Point
The top left of the printable area.
printableSize
Type: System.Windows..::.Size
The size of the printable area.

Return Value

A sequence of elements to be printed in front of the diagram.

See Also