Interesting stuff. I've been wanting to do something like this for a while now, but a bit different. Given the string X, and an image Canvas, put X so that is centered horiz and vert. If you had the W/H of a set of text, it would be trivial.
On Jan 16, 2008 10:46 AM, Ben Nadel <[EMAIL PROTECTED]> wrote: > John, > > I did something that was inspired by Barney Boisvert. An image function > that draws text areas rather than just a line of text: > > http://www.bennadel.com/blog/977-ColdFusion-8-ImageDrawTextArea-Inspired > -By-Barney-Boisvert-.htm > > In order to do this, I had to figure out the dimensions of the text > itself. Take a look at the innards. > > -- =========================================================================== Raymond Camden, Camden Media Email : [EMAIL PROTECTED] Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296689 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

