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

Loss the SVG Image when we Resize from Diagram Area

$
0
0

@amitjha wrote:

Hi,

we are adding SVG Image from Palette. its showing SVG image from Toolbox and also Diagram Area..
when we Re-size Shape from Diagram area . if we resize Image from diagram area and cross the actual SVG image size that time we loss the image

Bind the SVG image like this ..

$(go.Picture,
{ name: "BODY" , width: 50, height: 50}, new go.Binding("desiredSize", "size", go.Size.parse).makeTwoWay(go.Size.stringify), new go.Binding("source", "source")

            )
            , $(go.TextBlock, { textAlign: "center" }, new go.Binding("text", "key")))

Any Help on this would be appreciated

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles