Skip to main content
Skip table of contents

Positioning different text snippets on a page

These examples were written in response to questions such as:


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##

JavaScript errors detected

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

If this problem persists, please contact our support.