Search in sources :

Example 1 with Graphic

use of com.lowagie.text.Graphic in project vcell by virtualcell.

the class PDFWriter method writeHorizontalLine.

/**
 * PDF implementation.
 */
protected void writeHorizontalLine() throws DocumentException {
    document.add(new Paragraph("\n"));
    Graphic graphic = new Graphic();
    graphic.setHorizontalLine(1, 75);
    document.add(graphic);
    document.add(new Paragraph("\n"));
}
Also used : Graphic(com.lowagie.text.Graphic) Paragraph(com.lowagie.text.Paragraph)

Aggregations

Graphic (com.lowagie.text.Graphic)1 Paragraph (com.lowagie.text.Paragraph)1