/// <summary> /// Get the generated barcode as a bitmap image. /// </summary> /// <param name="barcodeValue"></param> /// <returns>Barcode image</returns> internal MemoryStream GetImage(string barcodeValue) { LinearEncoding.Clear(); Encode(BarcodeValidator.Parse(barcodeValue, Symbology)); return(LinearRenderer.DrawImageMemoryStream(this)); }
/// <summary> /// Get the generated barcode as a bitmap image. /// </summary> /// <param name="barcodeValue"></param> /// <returns>Barcode image</returns> internal MemoryStream GetImage(string barcodeValue) { LinearEncoding.Clear(); Generate(barcodeValue); return(LinearRenderer.DrawImageMemoryStream(this)); }