Gets a DiagramPrintDocument sized to the specified printing dimensions.
Namespace:
Mindscape.WpfDiagrammingAssembly: Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public DiagramPrintDocument GetPrintDocument( Size pageSize, Point printableOrigin, Size printableSize ) |
Visual Basic (Declaration) |
---|
Public Function GetPrintDocument ( _ pageSize As Size, _ printableOrigin As Point, _ printableSize As Size _ ) As DiagramPrintDocument |
Parameters
- 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.