PdfRpt.ColumnsItemsTemplates.PdfTemplateField.createImageFromImportedPage C# (CSharp) Method

createImageFromImportedPage() private method

private createImageFromImportedPage ( PdfRpt.Core.Contracts.CellAttributes attributes ) : void
attributes PdfRpt.Core.Contracts.CellAttributes
return void
        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);
            }
        }