That bug was fixed in 2005/10/2. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Wednesday, December 07, 2005 3:04 PM > To: [email protected] > Subject: [iText-questions] Left Alignment of image in a PdfPCell > > > Hi > > I have been trying for the past day or so to left_align an > image from a PdfPCell and nothing is working... Not sure > about the sequence. I'm trying to left align the image > itself.. then left align the cell itself... but the image > always end up Centered in the cell. Can anyone guide me? > > Image hronlineLogo = > Image.getInstance(path+messageResources.getMessage(hrOnlineLoc > ale.getLocaleLocale(),"image.logo.printer")); > hronlineLogo.setWidthPercentage(65); > hronlineLogo.setAlignment(Element.ALIGN_LEFT); > > PdfPCell cellHROnline = new PdfPCell(); > cellHROnline.addElement(hronlineLogo); > cellHROnline.setHorizontalAlignment(Element.ALIGN_LEFT); > cellHROnline.setBorder(0); > > table.addCell(cellHROnline); > > Thanks > Remi >
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
