DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

freetext resultant size and trimming

I have a freetext object on my report.  I set the object to have background color and a frame.

 

The frame has no padding and is right next to the text. I didn't like that and added spaces before and after text.

 

some padding was created before the text but apparently the whitespace is trimmed from end. sample attached

 

how can i get some padding space AT END OF TEXT?

 

alternatively, how do get the length of the rendered text? in report units... i don't want courier font

 

jim

 

BTW, i still couldn't attch a TDR to post

0 Kudos
Message 1 of 3
(4,079 Views)

Hello Jim!

 

AFAIK: No way!

 

Solutions for these problems wich works in other programs e.g. the ANSI char with code 160, doesn't work with the 'special' implementation of text rendering in DIAdem. The sub-optimal aproach is to use a filled rectangle and a free text. But this will have other drawbacks...

 

Matthias

Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 3
(4,069 Views)

it seems to me that after rendering, the size is known and could be retrieved.

 

jim

0 Kudos
Message 3 of 3
(4,015 Views)