![]() ![]()
The right margin is trickier, since you must weigh the length of strings on the right and their alignment manually not to exceed the margin. The left margin is easy, since all you got to do is to set width+margin. Actually, you got to do everything, like you would by positioning labels dynamically on a page. That is what I meant “you are in control”. You got to position every field the way you did at 50,50 in your example. What I wrote previously stands : nothing is automatic when printing with that method. I wanted to know if you did not print from a TextArea, which is different. You can see it from the sample you posted. It has been my experience that printing text with fonts, Xojo prints at maximum resolution without need to set it yourself. For the graphics, I do not have checked (print to pdf) or I forgot. #Changing margins in word for mac changes page dimensions pdf#Printing to pdf at “standard resolution” produce vector characters, so I do not need to change the printing resolution. And since paper does not have printable area, up to the very edge.Ībout the print resolution: It is quite similar to physical paper : one can indeed write in the margins. You have to distinguish between the printer printable area, which means where it can actually put ink on paper, and printing zone, which is determined by margins you define in your program. In that logic, trying to print on the margins will not be shown. That allows you to have a picture object you can manipulate, scale in another picture, and drawpicture back into p.graphics.įor me a Printable Area is an area on the paper (or PDF in this very case) where you can print. ![]() I have not tested it, but I believe instead of a simple graphics object, you could do something like this for portraitĭim p as picture(612x792) //Letter size, A4 is 596x843 Margins are in fact what you make of them by positioning the drawing onto the graphics object. So you have to build your print method accordingly. In other words, if the user chooses landscape, g.width will be larger than g.height. Normally, the printer graphic object handed by PrinterDialog has its dimensions set according to the user preferences. I suppose you are not talking about HTMLViewer which has it’s own print routine. I want to print with a Landscape orientation and I want to set the right margin equal to the left margin (who is not the case by default). How can I change the printable area size (changing the page margins) ? (Example: port~1 matches fort, post, or potr, and other instances where one correction leads to a match.The subject line says all:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |