| Code with Finding: |
class PdfWriter {
/**
* Use this method to adds an image to the document
* but not to the page resources. It is used with
* templates and <CODE>Document.add(Image)</CODE>.
* Use this method only if you know what you're doing!
* @param image the <CODE>Image</CODE> to add
* @return the name of the image added
* @throws PdfException on error
* @throws DocumentException on error
*/
public PdfName addDirectImageSimple(final Image image) throws PdfException, DocumentException {
return addDirectImageSimple(image, null);
}
}
|