com.crionics.jpdf.forms
Class ImageField
java.lang.Object
com.crionics.jpdf.forms.ImageField
public class ImageField
- extends java.lang.Object
Quick wrapper to create an Image in a document
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageField
public ImageField()
createInstance
public static void createInstance(PdfDocument doc,
int pageIndex,
AbstractImage image,
java.awt.geom.AffineTransform op)
throws java.io.IOException,
PdfException
- Creates an image at position x,y on given page
- Parameters:
doc - the documentpageIndex - the index of the page to draw on [1, pagemax]image - the image to drawop - an optional transformation matrix to resize, translate or
shear the gfx before it is rendered.
- Throws:
java.io.IOException
PdfException
createInstance
public static void createInstance(PdfDocument doc,
int pageIndex,
AbstractImage image,
int x,
int y)
throws java.io.IOException,
PdfException
- Creates an image at position x,y on given page
- Parameters:
doc - the documentpageIndex - the index of the page to draw on [1, pagemax]image - the image to drawx - position x from the top left cornery - position y from the top left corner
- Throws:
java.io.IOException
PdfException
Copyright © 1999-2007 Crionics. All Rights Reserved.