Hi. I’m
trying to create a table in which each cell in a single column contains an SVG
image. I used Batik and some code
from Xiaohong Yin that I found in these archives
(thanks!) to get started, and I can get my SVG to render onto my pdf. I can’t
however see how to get started in putting this content into my table. I tried creating a cell, adding it to
the table, then trying to get the left() and top() for
placement, but that’s not allowed.
Could someone please give me some suggestions regarding how to get
started here? I’m using the
Table rather than the PdfPTable, because we need to
be able to accommodate HTML also, so if it’s at all possible, I’d
prefer to keep using this. I know I
can use Batik to rasterize the SVG into another
format, then add THAT image to the cell, but I want to preserve the vector
quality of the image as much as possible. Thanks, Chris |