public void AddFileAttachment(FileAttachment fileAttachment) { if (_pdfReport.DataBuilder.FileAttachments == null) _pdfReport.DataBuilder.FileAttachments = new List<FileAttachment>(); _pdfReport.DataBuilder.FileAttachments.Add(fileAttachment); }