API documentation for visualization library

Michael Galloy

single page | use frames     summary     class     fields     routine details     file attributes

text/

vis_strwrap.pro

includes main-level program

top vis_strwrap

result = vis_strwrap(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

CHARSIZE keyword to XYOUTS

charthick in optional type=float

CHARTHICK keyword to XYOUTS

font in optional type=integer

FONT keyword to XYOUTS

Examples

To run a simple example:

IDL> .run vis_strwrap

File attributes

Modification date: Mon Nov 29 18:32:37 2010
Lines: 104
Docformat: rst rst