我这边二维码图片是这么生成的,想在word插入这个二维码图片,怎么做
private void GCode128(Code128.Encode encode)
{
Code128 _Code128 = new Code128();
_Code128.ValueFont = new Font("宋体", 10);
// _Code128.ValueFont.Style=new let
System.Drawing.Image _CodeImage = _Code128.GetCodeImage(Code, encode);
System.IO.MemoryStream _Stream = new System.IO.MemoryStream();
_CodeImage.Save(_Stream, System.Drawing.Imaging.ImageFormat.Jpeg);
Response.ContentType = "image/jpeg";
Response.Clear();
Response.BufferOutput = true;
Response.BinaryWrite(_Stream.GetBuffer());
Response.Flush();
}
------解决思路----------------------
将数据流图片保存为本地临时图片,然后再插入,删除临时图片文件啊.