Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

How to hide TreeExpanderButton while making Image of the tree

$
0
0

@phreq wrote:

I have an Incremental Tree which I export as an image as:
var imgBlob = myDiagram.makeImageData({
scale: 1,
maxSize: new go.Size(4000,4000),
background: 'white',
type: "image/png"
});

This generates image as:

I have defined by expander button as :
$("TreeExpanderButton",
{
width: 20, height: 20,
alignment: go.Spot.TopRight,
alignmentFocus: go.Spot.TopRight
})

So, how can I hide this while exporting the image?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles