#1 2011-05-25 15:34:13

photofritz
Member
Registered: 2011-04-16
Posts: 14

Help with Margins

Could anyone help to explain margins in PDF? Are they appended to the print surface? If I am drawing on a VCLCanvas at 600, 600 with resolution of 600 dots per inch, does this include Margins?

Are the margins part of the document or a function of the Viewer?
Thanks
Fritz

Offline

#2 2011-05-25 18:35:01

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,237
Website

Re: Help with Margins

Yes margins are part of the VCLCanvas.

Use a higher-level unit like SQlite3Pages to have margin and text auto positioning.

Offline

#3 2011-05-25 19:23:50

photofritz
Member
Registered: 2011-04-16
Posts: 14

Re: Help with Margins

Thank you Is there a simple way to eliminate margins and draw directly on the page? I Thought i was doing that, but the PDF printer seems to add margins to the page that I was not aware of...
Fritz

Offline

#4 2011-05-25 20:56:22

photofritz
Member
Registered: 2011-04-16
Posts: 14

Re: Help with Margins

Please, could you be more specific? I don't want margins, and I don't see any reference to margins in VCLCanvas. i am desperate!
Fritz

Offline

#5 2011-05-26 05:54:13

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,237
Website

Re: Help with Margins

ab wrote:

Yes margins are part of the VCLCanvas.

... that means that there is NO margin with VCLCanvas.

Offline

#6 2011-05-26 11:27:43

photofritz
Member
Registered: 2011-04-16
Posts: 14

Re: Help with Margins

This is confusing me

Offline

#7 2011-05-26 14:42:10

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,237
Website

Re: Help with Margins

It means that for VCLCanvas, x=0 for the left side of the paper e.g.

Offline

Board footer

Powered by FluxBB