Re: Wrapping text before writing to an image

2010-09-16 Thread Leigh
I have not used it myself, but I checked and ImageUtils.cfc does have a DrawTextArea() function. That might be what you are looking for. Also, for simple line wrapping, you could use a LineBreakMeasurer. A while back I wrote a sample function that demonstrates how it works. http://cfsearching.

Re: Wrapping text before writing to an image

2010-09-16 Thread Leigh
I am 99% sure at least one of the open source cfc's has an existing function for wrapping. Maybe check the ImageUtils.cfc ? -Leigh ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-An

RE: Wrapping text

2002-10-11 Thread Raymond Camden
Don't forget you can take a UDF and rewrite it as a custom tag. Therefore, I'd consider using one of the solutions from cflib.org. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] WWW : www.c

RE: Wrapping Text

2002-04-11 Thread Tony_Petruzzi
: David DiPietro [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 2:39 PM To: CF-Talk Subject: RE: Wrapping Text Alternately (if HTML) Put it in a table #yourText# No one sees the tables and you have a

RE: Wrapping Text

2002-04-11 Thread Tony_Petruzzi
that UDF is HUGE. :) I like simple myself. Anthony Petruzzi Webmaster 954-321-4703 [EMAIL PROTECTED] http://www.sheriff.org -Original Message- From: Carlisle, Eric [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 2:42 PM To: CF-Talk Subject: RE: Wrapping Text Very nice

RE: Wrapping Text

2002-04-11 Thread Carlisle, Eric
Very nice. Here's another one at CFLib. http://www.cflib.org/udf.cfm?ID=249 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 2:20 PM To: CF-Talk Subject: RE: Wrapping Text Function to wrap a string before a specific numb

RE: Wrapping Text

2002-04-11 Thread David DiPietro
doesn't break in the middle of the word without having to search for the nearest space etc... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 2:20 PM To: CF-Talk Subject: RE: Wrapping Text Function to wrap a string before a spe

RE: Wrapping Text

2002-04-11 Thread Justin Hansen
This will take a sting and wrap it @ 90. Just replace or set 'locString' to the var that contains your data. Is your report text or html? If it's not html, replace the with #chr(10)##chr(13)#.

RE: Wrapping Text in CFMAIL

2000-04-07 Thread Terry Riley
In-Reply-To: <[EMAIL PROTECTED]> Found the CFX_Wrap tag in the Allaire Gallery - does exactly what I need to produce wrapped text in the email message. Cheers Terry -- Archives: http://www.eGroups.com/list/cf-talk To U

RE: Wrapping Text in CFMAIL

2000-04-06 Thread Steve Reich
The WRAP attribute can be used to specify how to handle word-wrapping display in text input areas in forms. -- the default setting - Wrapping doesn't happen. Lines are sent exactly as typed. -- The display word-wraps, but long lines are sent as one line without new-lines. -- The display word

Re: Wrapping Text in CFMAIL

2000-04-06 Thread David E. Crawford
Setting wrap="physical" on the text area might help. There is a tag in the gallery which will wrap a string, using either CRLF for things like CFMAIL or or tags for HTML output. DC - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 06, 2000 18