IBM ILOG Dojo Diagrammer 1.1.1 API Documentation
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

ibm_ilog.diagram.util.PrintUtil

Object » ibm_ilog.diagram.util.PrintUtil
dojo.require("ibm_ilog.diagram.util.PrintUtil");

Method Summary

  • constructor(kwArgs)
  • printGraph(graph, bounding, width, height, pagesWidth, pagesHeight, paperColor) graph to be separated into multiple surfaces
  • printViewport(diagram, width, height, pagesWidth, pagesHeight, paperColor) diagram which viewport will be separated into multiple surfaces

Methods

constructor
ParameterTypeDescription
kwArgsibm_ilog.diagram.util.__PrintUtilArgs
printGraph
graph to be separated into multiple surfaces
ParameterTypeDescription
graphthegraph to be separated into multiple surfaces
bounding[Rect]indicates the area to be show. If missing, the complete graph is shown
widththewidth in pixels of every single surface
heighttheheight in pixels of every single surface
pagesWidththeamount of horizontal surfaces into be split
pagesHeighttheamount of vertical surfaces into be split
paperColor[Color]this paperColor is used to hide not required part of the graph, when the target area has different aspect ratio than the source bounding. If missing, white is used as default color.
printViewport
diagram which viewport will be separated into multiple surfaces
ParameterTypeDescription
diagramthediagram which viewport will be separated into multiple surfaces
widththewidth in pixels of every single surface
heighttheheight in pixels of every single surface
pagesWidththeamount of horizontal surfaces into be split
pagesHeighttheamount of vertical surfaces into be split
paperColor[Color]this paperColor is used to hide not required part of the graph, when the target area has different aspect ratio than the source bounding. If missing, white is used as default color.