Dynamic resizing of rectangle

Label printing integration (NiceWatch middleware and ActiveX programming interface)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
Posts: 1
Joined: Wed Nov 26, 2014 10:45 am

Dynamic resizing of rectangle

Post by SDS_Assembly » Thu Feb 08, 2018 10:22 am

Hi, I have been experimenting with resizing a rectangle based on the width of a text-object read from a csv-file...
I can read the width and write it but I can't get it to update the script for each read record...

I have understood that this might be a limit in how scripts are processed by the engine but I'm wondering if there are any work-arounds?

It might be worth noting that my print volumes are quite low so performance aren't an issue...

User avatar
NiceLabel Development
NiceLabel Development
Posts: 678
Joined: Tue Sep 12, 2006 12:50 pm
Location: Kranj, Slovenia

Re: Dynamic resizing of rectangle

Post by dado » Wed Feb 14, 2018 7:16 am

You are right. Currently there is no way to update the position of the rectangle during the print through code. Once you set the position of the Rectangle it will stay the same during the print.

Regards, Damjan

Post Reply