Re: [Gambas-user] Setting top margin of printer.

2009-04-20 Thread Doriano Blengino
richard terry ha scritto: > I'm still struggling with the printer stuff. > > Say I have an A4 Page, and I want to write something right near the top of > the > page > > If I do: > > Dim PagePosition as integer > Dim LeftMargin as integer = 100 > Dim FontHeight as integer > > 'calculate the font h

[Gambas-user] Setting top margin of printer.

2009-04-19 Thread richard terry
I'm still struggling with the printer stuff. Say I have an A4 Page, and I want to write something right near the top of the page If I do: Dim PagePosition as integer Dim LeftMargin as integer = 100 Dim FontHeight as integer 'calculate the font height fontHeight = Draw.TextHeight("Check the fo