private void createImageFromImportedPage(CellAttributes attributes)
{
if (OnFillAcroForm != null)
{
_image = attributes.SharedData.PdfWriter.GetITextSharpImageFromAcroForm(
PdfTemplatePath, attributes.RowData.TableRowData,
OnFillAcroForm, attributes.BasicProperties.PdfFont.Fonts);
}
else
{
_image = attributes.SharedData.PdfWriter.GetITextSharpImageFromPdfTemplate(PdfTemplatePath);
}
}