This class provides printing capabilities for a CanvasControl.

Namespace: yWorks.Canvas
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public class CanvasPrintDocument : PrintDocument
Visual Basic
Public Class CanvasPrintDocument _ Inherits PrintDocument

Remarks

This instance controls the printing output. Clients can set the Canvas, the rectangle in the world coordinate system to print, and a scale factor. It allows for centering the output on the printed pages and printing page marks. Instead of calling Print(String), the overloaded methods of this type should be used instead.

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    PrintDocument
      yWorks.Canvas..::..CanvasPrintDocument

See Also