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?
Scaling Field Problems
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Scaling Field Problems
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
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