DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   Word automation query (http://www.daniweb.com/forums/thread160419.html)

maj3091 Dec 2nd, 2008 10:45 am
Word automation query
 
Hi All,

I have a small application written in VB6 that outputs a list of words, one per line, to a Word document.

By default the font size I use is 60 points, which is fine, as I don't mind the text takes up as many pages as needed, as these will be printed out and pinned to a wall.

An occasion has risen whereby I need to be able to make the outputted list fit to a single page.

To begin with, i'm not to bothered if the font is decreased so that all the words appear in one column on the page, eventually I will look at creating multiple columns of required and maybe even page orientation.

What I'm looking for is some advice on how I can go about determining what the font size needs to be ensure everything fits on a single page, but makes maximum use of the length of the page.

Hope that makes sense.

Regards,

Mark


All times are GMT -4. The time now is 11:38 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC