I have added few templates in template canvas. Now I want to resize them. As we cannot access those templates, I have taken rectangle with same size and position.
but I am not able to resize that rectangle.
You want to resize a rectangular in a template? ...or resize a template?
IIRC, to get a specific template, it's just template = canvasComponent.loadedTemplates[index]
The index corresponds to the row in the canvas's dataset.
Resizing the templates themselves though is as simple as editing the template parameters dataset values.
2 Likes