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 can I automatically change the font size?
centercolumnvertically
##GITHUB:https://github.com/itext/i5js-sandbox/blob/master/src/main/java/sandbox/objects/ColumnTextPhrase.java##
##GITHUB:https://github.com/itext/i7ns-samples/blob/develop/itext/itext.samples/itext/samples/sandbox/objects/CenterColumnVertically.cs##
centervertically
##GITHUB:https://github.com/itext/i5js-sandbox/blob/master/src/main/java/sandbox/objects/FitTextInRectangle.java##
##GITHUB:https://github.com/itext/i7ns-samples/blob/develop/itext/itext.samples/itext/samples/sandbox/objects/CenterVertically.cs##
columntextphrase
##GITHUB:https://github.com/itext/i5js-sandbox/blob/master/src/main/java/sandbox/objects/DrawRectangleAroundText.java##
##GITHUB:https://github.com/itext/i7ns-samples/blob/develop/itext/itext.samples/itext/samples/sandbox/objects/ColumnTextPhrase.cs##
drawrectanglearoundtext
##GITHUB:https://github.com/itext/i5js-sandbox/blob/master/src/main/java/sandbox/objects/CenterVertically.java##
##GITHUB:https://github.com/itext/i7ns-samples/blob/develop/itext/itext.samples/itext/samples/sandbox/objects/DrawRectangleAroundText.cs##
threeparts
##GITHUB:https://github.com/itext/i5js-sandbox/blob/master/src/main/java/sandbox/objects/CenterColumnVertically.java##
##GITHUB:https://github.com/itext/i7ns-samples/blob/develop/itext/itext.samples/itext/samples/sandbox/events/ThreeParts.cs##
addrotatedtemplate
##GITHUB:https://github.com/itext/i5js-sandbox/blob/master/src/main/java/sandbox/events/ThreeParts.java##
##GITHUB:https://github.com/itext/i7ns-samples/blob/develop/itext/itext.samples/itext/samples/sandbox/stamper/AddRotatedTemplate.cs##
Resources
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/txt/liber1_1_en.txt
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/txt/liber1_1_fr.txt
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/txt/liber1_1_la.txt
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/txt/liber1_2_en.txt
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/txt/liber1_2_fr.txt
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/txt/liber1_2_la.txt
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/txt/liber1_3_en.txt
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/txt/liber1_3_fr.txt
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/txt/liber1_3_la.txt
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/pdfs/hello.pdf
Results
https://github.com/itext/i7js-examples/blob/develop/cmpfiles/sandbox/objects/cmp_center_vertically.pdf
https://github.com/itext/i7js-examples/blob/develop/cmpfiles/sandbox/objects/cmp_column_text_phrase.pdf
https://github.com/itext/i7js-examples/blob/develop/cmpfiles/sandbox/events/cmp_three_parts.pdf
https://github.com/itext/i7js-examples/blob/develop/cmpfiles/sandbox/objects/cmp_center_column_vertically.pdf
https://github.com/itext/i7js-examples/blob/develop/cmpfiles/sandbox/objects/cmp_draw_rectangle_around_text.pdf
https://github.com/itext/i7js-examples/blob/develop/cmpfiles/sandbox/stamper/cmp_add_rotated_template.pdf