Skip to main content
Skip table of contents

Absolute positioning of text

These questions were answered in the scope of 7.0.x and 7.1.x versions. However, if you find links to our GitHub repo, then they should target the latest version, and you can get access to specific versions by using the Tags functionality.

Interesting repos with examples to browse would be i7js-book & i7js-examples for Java and i7ns-samples for .NET (C#).

What is causing syntax errors in a page created with iText?


How to fit a String inside a rectangle?


Why does ColumnText ignore the horizontal alignment?


How to write a Zapfdingbats character at a specific location on a page?


How to rotate a single line of text?


How to draw a rectangle around multiline text?


How to continue an ordered list on a second page?


How to add an x-offset to a text pattern with every x-step?


How to rotate a paragraph?


How to divide a page in N parts so we can fill each with a different source?


How to reduce redundant code when adding content at absolute positions?


How to add text inside a rectangle?


How to truncate text within a bounding box?


Why does using ColumnText result in The document has no pages exception?


How to adapt the position of the first line in ColumnText?


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.