Support Forum

SmartPart leader


Hello! Need a line of length equal to the length of the text string. When using the SWT, it determines the number of characters in a string * length of a single letter of the cell. As a result length of a text is determined without regard to the width of different letters (but letters i and M have different width). Is there another way to define an exact length of a text string?

Attachments (1)

Type: application/octet-stream
Downloaded 1972 times
Size: 5,88 KiB

Unfortunately, that command doesn't offer you a precise measure of the width of an word, I tried myself writing such a smartpart, but with no succes.

Attachments (1)

Type: application/octet-stream
Downloaded 1819 times
Size: 22,87 KiB

Quote by Haidu_bogdan
Unfortunately, that command doesn't offer you a precise measure of the width of an word, I tried myself writing such a smartpart, but with no succes.
Hello! That's how we were able to implement it. For normal work requires auxiliary smart (put in a folder with main). Smart works only with fonts GOST Common (included in the archive)

Attachments (1)

Type: application/x-zip-compressed
Downloaded 1374 times
Size: 411,61 KiB