A4 printable area
-
Thursday, November 27, 2008 8:33 PM
Hey all,
When working in a C++ text editor within visual studio 2008, is it possible to show the A4 printable area (A4 boundaries) so I can write my code/comments up to a point so it will print the same as it is displayed on screen. Alternatively a setting so that the maximum text editor width could be set the same width as an A4 page, otherwise as you know you can type across the page without any real limits.
Sorry it is such a simple question but it has taken me ages and I still haven’t found the setting.
Thanks you for your time.
All Replies
-
Friday, November 28, 2008 7:07 AM
If you have the HDC of the printer, then the margins can be obtained by GetDeviceCaps function. See the algorithm in Visual Basic: http://support.microsoft.com/default.aspx/kb/193943.
- Marked As Answer by Rong-Chun Zhang Wednesday, December 03, 2008 6:35 AM
-
Friday, November 28, 2008 7:45 AM
One option is to use the wordwrap functionality(Edit--->Advanced--->Wordwrap).
You can manually adjust the text editor size and then wordwrap it. So text will be aligned accordingly.- Marked As Answer by Rong-Chun Zhang Wednesday, December 03, 2008 6:35 AM
-
Friday, November 28, 2008 12:21 PMWorks - thanks all for your help

