PdfRpt.Core.Helper.PdfImageHelper.checkImage C# (CSharp) Method

checkImage() private static method

private static checkImage ( this img ) : Image
img this
return iTextSharp.text.Image
        private static iTextSharp.text.Image checkImage(this iTextSharp.text.Image img)
        {
            if (img == null)
                throw new InvalidOperationException("iTextSharp.text.Image is null.");

            return img;
        }