Variable Outline

Issues related to label design (working with databases, data processing, RFID encoding etc.) and printing (from NiceLabel Express, NiceLabel Pro, NiceForm and NicePrint)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
Posts: 6
Joined: Thu Feb 11, 2010 4:47 pm

Variable Outline

Post by Dundoan » Fri May 27, 2011 1:09 pm

Is it possible to print a box around the outline of a variable. I have a variable which is variable in length and I would like to know if you can print the outline with the variable instead of drawing a box around the maximum length of the variable.

User avatar
Posts: 175
Joined: Wed Sep 27, 2006 1:10 pm
Location: Sencur, Slovenija

Re: Variable Outline

Post by jurk » Tue May 31, 2011 12:52 pm

It can be done using VBScript. IObject interface exposes Width as read only member. Use it to get the width of the text on a label. Same interface also exposes methods Move and Resize which can be used to resize the rectangle object. You can use Name property to locate the correct objects on the label.

Hope this helps :wink:
NiceLabel Development

Post Reply