![]() Regards David R - "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute. It's just so long ago I'd have to start from scratch again. To save the settings and close the additional window, click OK. ![]() In an additional window, open the Alignment page and uncheck the line 'Word wrap' in the group of commands 'Display'. I've done stuff similar to this on DOS machines in C, Basic and Pascal so know it can be done. To cancel word wrap in the Excel editor, right-click on the desired cell and click on the 'Format Cells' command. You might have to use the BufferWidth (and BuffereHeight?) properties to get what you want. ![]() This was a pretty standard thing to do in days gone by so I expect there's at least pseudo-code around to show how it's done (even some stuff to construct the line and add spaces to make it fully justified before doing the actual write). Then if there is insufficient room do a Console.WriteLine() before doing the Console.Write(theWord). I cant even change the wrapping style from the default 'in line with text' to anything else. ![]() Even after I selected the 'Wrap text within text boxes for overlay objects', I still cant wrap the text around the picture within the text box. If you know how many characters fit on a line you could write code that checks the number of chars written so far and the length of the current I am using Version 14.4.3 Word for Mac 2011. When you write to the Console, you are in fact using a TextWriter and that just puts out the text it is given. I'm not certain but I think the answer is that it cannot be done automatically.
0 Comments
Leave a Reply. |