Re: [iText-questions] Problem with margin

2010-11-11 Thread riffla
Hi, and thanks for replying actually, the imported PDF doesn't need to scale, since it's correct size. I only wondered whether or not the margins set in designing (using InDesign) the PDF to be imported was brought into iText document or alike, but the problem is now solved by setting the margins

Re: [iText-questions] Problem with margin

2010-11-11 Thread Nurettin DAG
Hi, 1) document.setPageSize(); and document.setMargins(); will only take effect starting with the next page so I am not surprised that margins for the first page is 36 which is the default in iText. You need to specify margins at the document declaration phase new Document(pageSize, margins...);

[iText-questions] Problem with margin

2010-11-11 Thread riffla
Hi This issue is about the loaded PDF and it's bottom margin. The PDF used as "template" and that is loaded at initialization is created in InDesign and the bottom margin is set to 64 (pt) but still when the writer adds a Paragraph text is written below that 64pt margin, how come. Is there a way