|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Printing at bottom of pageI would like to print at the bottom of a page so I can place a picture at the top. I use the following code to print the calendar: CaptureScreen() printDocument1.Print() It works well, but prints the Calendar at the top of the page. How can I move the calendar to the bottom of the page? Thanks TM Tom McL. wrote:
> I have a program that produces a calendar which Rotate it 180 degrees before printing.> I would like to print at the bottom of a page so I can > place a picture at the top. >.... How can I move the > calendar to the bottom of the page? Andrew Andrew,
That sounds like a great solution and I have spent the last day looking for a way to rotate a form and have not found an example that can get me started. The ROTATE Method leaves me out in the cold. Any further help to get me started would be Greatly appreciated. Tom Tom McL. wrote:
> That sounds like a great solution and I have spent Hopefully someone who /knows/ how to do this will chime in, but is the > the last day looking for a way to rotate a form and > have not found an example that can get me started. > The ROTATE Method leaves me out in the cold. CaptureScreen() procedure in your OP the same CaptureScreen() in the help Q161299 [1]? If so, then it looks to me like the easiest way is, rather than rotating the image, just tell it the printer's top margin is half way down the page (or whatever fits). However, what sort of quality is the output at the moment? If it looks pixellated then it might be better to produce the image in a Graphics object using the methods in System.Drawing. Tedious maybe, but you'll get the best possible output. [1] ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/enu_kbvbwin/en-us/vbwin/Q161299.htm Andrew
Application.Exit or End
VB2005 pro Graphics IsDate("ISomeTimesHateProgrammingMarch2005") = True Sending a message to another computer -how? Better way to go from ArrayList to Object() Convert from C# to VB.Net lost user control Unable to cast object of type 'System.Data.DataSet' to Typed DataSet Get distinct values from a column in a datatable miplementing cut/copy/paste |
|||||||||||||||||||||||