Package org.geoforge.itext.text.pdf

Source Code of org.geoforge.itext.text.pdf.GfrFooter

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.geoforge.itext.text.pdf;

import com.lowagie.geoforge.text.pdf.GfrPdfPCell;
import com.lowagie.text.LwgPhrase;
import com.lowagie.text.pdf.LwgPdfPCell;
import com.lowagie.text.pdf.LwgPdfPTable;

/**
*
* @author user
*/
public class GfrFooter extends LwgPdfPTable
{

   public GfrFooter(float fltHeight)
   {
      super(1);
     
      super.setWidthPercentage(100);
      super.getDefaultCell().setBorderWidth(0);
      super.getDefaultCell().setPadding(5);
     
      LwgPdfPCell cellLogo = new GfrPdfPCell(new LwgPhrase("Sharpergeo - Elk"));
      cellLogo.setFixedHeight(fltHeight);
     
      super.add(cellLogo);

   }
}
TOP

Related Classes of org.geoforge.itext.text.pdf.GfrFooter

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.