I create a PDF document using iTextSharp and this code: Document pdfDoc = new Document(PageSize.A4.Rotate(), 10f, 10f, 100f, 0f); I googled but I couldn't find the Envelope size. How do I set the page size as Envelope with Landscape orientation?
I would like to know more about the coordinates of a Rectangle, in particular: lower left X lower left Y upper right X upper right Y Every time, I get confused about how to make dimensions based on these coordinates to draw rectangle. If possible, can I get a graphical representation briefly about these coordinates positions?
I want to produce a PDF with pages in landscape. While I can set the size of the page to landscape using document.setPageSize(PageSize.LETTER.rotate()); , it this doesn't achieve what I want. The content is still oriented left->right while I would like it to be bottom->top.
I managed to set the size of the PDF document I'm creating to the size I need (~3cm x ~7cm), but the content inside the page is only using a third of the space. I need to use the whole available space.