Purpose |
Retrieves the status of Graphic WordWrap Mode. |
Syntax |
GRAPHIC GET WORDWRAP TO WrapVar& Function Form: WrapVar& = GRAPHIC(WORDWRAP) |
Remarks |
GRAPHIC GET WORDWRAP retrieves the status of wordwrap mode and assigns it to the variable specified by WrapVar&. If WordWrap Mode is enabled, the value true (non-zero) is assigned. If it's disabled, the value false (zero) is assigned instead. The value returned reflects the status of the graphic target which is currently attached to the graphic stream. With WordWrap Mode, you can control how PowerBASIC prints text on a graphic target when it reaches the end of a line. Since a graphic target operates on a full page basis, the default is to ignore text which is printed past the end of the line. This can be modified under program control by using GRAPHIC SET WORDWRAP. When WordWrap mode is enabled, it affects only GRAPHIC PRINT operations. If GRAPHIC PRINT attempts to display a word beyond the end of a row, the entire word is automatically wrapped to the first column of the next row. |
See also |
GRAPHIC CELL, GRAPHIC GET WRAP, GRAPHIC SET WORDWRAP, GRAPHIC SET WRAP, GRAPHIC SPLIT |