PdfRpt.Core.Helper.VectorImages.DrawCross C# (CSharp) Method

DrawCross() public static method

A vector cross sign image's definition
public static DrawCross ( Rectangle position, PdfContentByte cb, System color ) : Image
position iTextSharp.text.Rectangle position of the drawing
cb iTextSharp.text.pdf.PdfContentByte drawing canvas
color System fill color
return iTextSharp.text.Image
        public static Image DrawCross(Rectangle position, PdfContentByte cb, System.Drawing.Color color)
        {
            var img = CrossImage(cb, color);
            DrawCrossImageAtPosition(img, position);
            return img;
        }