PdfRpt.FluentInterface.ColumnItemsTemplateBuilder.ByteArrayImage C# (CSharp) Method

ByteArrayImage() public method

Displaying current cell's data as an Image.
public ByteArrayImage ( string defaultImageFilePath, bool fitImages, bool cacheImages = true ) : void
defaultImageFilePath string Default image will be used in case of null images
fitImages bool Set fitImages to true to fit the image to the cell
cacheImages bool If true, the image bytes will be added to the PDF only once, not per each new instance. Therefore the result won't be a bloated PDF file. Choose this option if there are many similar images in your data source.
return void
        public void ByteArrayImage(string defaultImageFilePath, bool fitImages, bool cacheImages = true)
        {
            _columnItemsTemplate = new ByteArrayImageField(defaultImageFilePath, fitImages, cacheImages);
        }