vis/text/
mg_grstrwrap.pro
includes main-level programRoutines
top mg_grstrwrap
result = mg_grstrwrap(text, width [, charsize=float] [, charthick=float] [, font=integer])
Wrap a string to a given width.
Return value
string array
Parameters
- text in required type=string
scalar string to wrap
- width in required type=long
width in pixels of the text area
Keywords
- charsize in optional type=float
- charthick in optional type=float
- font in optional type=integer
Examples
To run a simple example:
IDL> .run mg_grstrwrap
File attributes
Modification date: | Wed May 14 15:07:15 2014 |
Lines: | 56 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.