Example usage for com.itextpdf.text Element PARAGRAPH

List of usage examples for com.itextpdf.text Element PARAGRAPH

Introduction

In this page you can find the example usage for com.itextpdf.text Element PARAGRAPH.

Prototype

int PARAGRAPH

To view the source code for com.itextpdf.text Element PARAGRAPH.

Click Source Link

Document

This is a possible type of Element.

Usage

From source file:org.fatec.lpbd.projetocurriculo.controller.CurriculoHelper.java

public static Paragraph simpleText(String text) {
    Font f = new Font(FontFamily.COURIER, 10, Font.NORMAL);
    Paragraph p = new Paragraph(text, f);
    p.setAlignment(Element.PARAGRAPH);
    return p;//w  ww  . j a  va 2s. co  m
}