Hello
I need to create a PDF dynamically, and on that PDF, I have a label of a certain size, that gets populated from a database. Sometimes the data doesn't fit all in the label, and I'd like the label to show me as much of the data as would fit in it. For example, suppose my data is "LongWord1 LongWord2", and the label would fit this much: "LongWord1 LongW". However, instead of showing me "LongWord1 LongW", it only shows "LongWord1". Is there a way to make the label truncate other than just full words? Changing my label size would not be a good option, as my PDF needs to mimick the format of an existing form that we use.
Thank you,
Theodor Radu
Label truncation
Re: Label truncation
Support · Mar 2, 2006Hello Theodor,
Truncating of words is not possible using any of our products. There is no way you can display only part of the word in the available space if the space is not sufficient enough to fit the whole word.
Thanks,
ceTe Software Support Team
Re: Label truncation
Forum member · Mar 2, 2006I guess I answered my own question: I'll do a "For" loop from 1 to the length of the text, checking each time for the actual space the text would take on the PDF, and I'll set the label to just the text up to the character that would fit. Thanks, anyway.