Author Topic: use of canvasdrawwrap command  (Read 2431 times)

venkat0249

  • Newbie
  • *
  • Posts: 22
use of canvasdrawwrap command
« on: September 27, 2011, 02:08:57 AM »
what is the use of "CanvasDrawWrap" command? how to use it?

tigabyte

  • Administrator
  • Newbie
  • *****
  • Posts: 54
Re: use of canvasdrawwrap command
« Reply #1 on: September 27, 2011, 10:41:39 AM »
what is the use of "CanvasDrawWrap" command? how to use it?

This sets whether the text wraps around for the canvas. If the text is longer that the width of the canvas then wrap makes it continue onto the next line whereas no-wrap would show just one line of text and truncate the rest.

The Language Reference PDF has the wrong syntax for CanvasDrawWrap. It should be

CanvasDrawWrap(canvasid,wrap)

wrap = 0 gives no wrap

wrap <> 0 gives wrap




« Last Edit: November 11, 2015, 12:18:25 PM by Malkom »

 

anything