Example usage for com.itextpdf.text Paragraph setSpacingAfter

List of usage examples for com.itextpdf.text Paragraph setSpacingAfter

Introduction

In this page you can find the example usage for com.itextpdf.text Paragraph setSpacingAfter.

Prototype

public void setSpacingAfter(float spacing) 

Source Link

Usage

From source file:zzlorbittest3.PdfReporter.java

private void addContent(Document doc, String content) throws Exception {
    Paragraph para;
    para = new Paragraph(content, contentFont);
    //            para.add("");
    para.setFirstLineIndent(20);//from ww  w.j av  a2  s . c  o m
    para.setSpacingAfter(7);
    doc.add(para);
}