When using SVG EXPORT TO PICTURE, the form variable will only update if I have called DELAY PROCESS first. Is this the expected behavior?
Hello, no it’s not the expected behaviour.
Can you please give us some context and a piece of code ?
I’m using the below code to update the height and width of an image object. Without DELAY PROCESS, the image in svgArea (the picture variable on the form) does not change.
DOM SET XML ATTRIBUTE($pImageObject->;“width”;$lWidth;“height”;$lHeight)
DELAY PROCESS(Current process;5)
SVG EXPORT TO PICTURE($tArea;svgArea;Copy XML data source)
If I correctly understand, I think a better way would be to use SVG SET ATTRIBUTE instead of DOM SET XML ATTRIBUTE because with this command the picture is updated without doing a new SVG EXPORT TO PICTURE
Thanks! I’ll try that and get back to you.
That worked for me. Thanks again!