Align / Position Of Images Based On Excistence
Hi all,
I have a template where multiple images can appear on the label, depending on the content of the database.
Problem is that not all images appear the same time on the label, e.g. i have image A, B, C, D, E. Sometimes only image A,B are shown, sometimes only A,C,E. or only A etc..
How can i align those images to the right beside each other so no gaps are visible on the label when one image is not supposed to be displayed?
-
Shotaro Ito
★ BarTender Hero ★
Unfortunately, BarTender doesn't have relative positioning.
When every picture's width are the same, a crude approach is have 5 data source pictures as placeholder. have 5 fields (Pic1, Pic2, Pic3, Pic4, Pic5) on database.
When only image A, B is needed, data goes like..
Pic1,Pic2,Pic3,Pic4,Pic5
A.bmp,B.bmp,,
when modify database is not possible, you could have data like "ABC" in a field, and each picture object get a part of the field by truncation transform.
(such as Pic2 drops 1 char from right, keep 1 char from left) then add suffix of ".bmp".
make sure the picture object's error handling to continue print when no picture is found.
Another option is move picture object's coordination from VB Script like below.
http://forums.seagullscientific.com/index.php?/topic/3808-moving-y-position-on-barcode/
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar