Positioning different text snippets on a page
  • iText Knowledge Base
  • iText Knowledge Base
    • iText 7 Core
    • iText DITO
    • iText 5 Core
  • iText Website
  • Blog
  • Support
  • Community
  • magnifier
  • Start
  • Examples
  • Positioning different text snippets on a page

Positioning different text snippets on a page

These examples were written in response to questions such as:

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

  • Click How to draw a rectangle around multiline text?

  • Click How can I automatically change the font size?


centercolumnvertically


centervertically


columntextphrase


drawrectanglearoundtext


threeparts


addrotatedtemplate

Resources

liber1_1_en.txt
liber1_1_fr.txt
liber1_1_la.txt
liber1_2_en.txt
liber1_2_fr.txt
liber1_2_la.txt
liber1_3_en.txt
liber1_3_fr.txt
liber1_3_la.txt
hello.pdf

Results

cmp_center_vertically.pdf
cmp_column_text_phrase.pdf
cmp_three_parts.pdf
cmp_center_column_vertically.pdf
cmp_draw_rectangle_around_text.pdf
cmp_add_rotated_template.pdf
  • xml_worker
  • itext_7_suite
  • itext_7_core
  • itext_7_community
    About us / News / Jobs / Open Source AGPL license / Commercial & OEM licenses / login
    Copyright © 2022 iText • Powered by Scroll Viewport and Atlassian Confluence