Text fit object label error from SDK

Label printing integration (NiceWatch middleware and ActiveX programming interface)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
Valued Contributor
Posts: 23
Joined: Fri Oct 05, 2018 9:14 am

Text fit object label error from SDK

Post by DanielT » Thu Jun 30, 2022 11:35 am


Currently when trying to set variable data to an object and it does not fit the SDK throws an exception.
I wonder, is it possible to use the SDK to see if the content fit before? Or maybe do an calculation ?

The reason i want this is because i want to avoid the performance hit caused by an exception and i want to be able to see this before actually doing the print.
Screenshot 2022-06-30 113409.png
Screenshot 2022-06-30 113409.png (8.98 KiB) Viewed 469 times

Post Reply