Use code that finds the ROImage file based upon filename.

This commit is contained in:
Rich
2015-02-24 15:43:40 +00:00
parent 068dbfc005
commit 52c6e61b6a
3 changed files with 4 additions and 0 deletions

View File

@@ -219,6 +219,7 @@ namespace Volian.Print.Library
public void AddImage(string filename)
{
ROImageInfo roImage = ROImageInfo.GetByROFstID_FileName(_ROFstID, filename);
if (roImage == null) roImage = ROFstInfo.Get(_ROFstID).GetROImageByFilename(filename, null);
PdfPCell spaceCell = new PdfPCell();
spaceCell.BorderColor = Color.WHITE;
datatable.AddCell(spaceCell);