Quantcast
Channel: Northwoods Software - Latest topics
Viewing all articles
Browse latest Browse all 7424

Print a Go js Diagram

$
0
0

@shivam wrote:

Hello,

I am facing a challenge while printing a GOJS Diagram.
I am using this code flow to Print:-

var db = diagram.documentBounds.copy();
var boundswidth = db.width;
var boundsheight = db.height;
var svg = diagram.makeImage({size : new go.Size(boundswidth,boundsheight)});
var newTab = window.open();
newTab.document.body.appendChild(svg);
return ;

But while printing some part of the page is cut down.
So if it comes in more than 1 page then I don't have an issue.

I am attaching a screenshot of the Image, so please suggest me how to print the complete page.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7424

Trending Articles