Printing
Printing facilities are fully predefined in the class
IlvDiagrammerApplication. The use of these facilities in an application is explained in
Printing the diagram from an IlvDiagrammerApplication instance in
Using the Designer.
If you require more sophisticated printing facilities, you can retrieve the view, the grapher, and the printing controller for the diagram component and customize the printing framework. Note that the view and grapher are available at the SDM engine level. Therefore, proceed as follows:
1. Retrieve the SDM engine for the diagram component. You do this with the method
getEngine:
myEngine = myDiagrammer.getEngine();
myView = myEngine.getReferenceView();
myGrapher = myEngine.getGrapher();
3. Retrieve the printing controller for the diagram component. You do this with the method
getPrintingController.
myDiagrammer.getPrintingController();
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.