Page 1 of 1

Scaling Field Problems

Posted: Wed May 15, 2013 6:05 pm
by CenturyMan1979
Hey All,

In my application I am scaling a field and the textSize of that field. Problem with this is textSize will only take integers so as it scales the text jumps around and has inconsistent layout.

I was thinking that maybe I can create an image of the field at 100% and scale the image which will look smooth and have a consistent layout. Is there any way to extract an image of a field object with transparency?

Re: Scaling Field Problems

Posted: Wed May 15, 2013 6:19 pm
by Klaus
Hi CenturyMan1979,

yep, do this:
1. Create your field
2. NO border, NOT opaque, NO showfocusborder
3. Enter your text
4. Import snapshot:
...
import snapshot from rect (the rect of fld 1) of fld 1
...
Et voila, a nice transparent image of your text :-)
You may want to set the "resizequality" of the image(s) to BEST after that!


Best

Klaus