c++ builder例子是这样的:
DBImgFishImg->CopyToClipboard(); //将数据库中的图像拷贝至 WordDocument->Sentences->Last->Paste(); //WORD中粘贴我的代码:
使用Graphics::TBitmap,画图、拷贝到CLIPBAORD、
WORDL里查找图片位置,删除标示符,粘贴
Bitmap->Width=pSensor->Item.ImgWidth;
Bitmap->Height=pSensor->Item.ImgHeight;
DrawWave(Bitmap->Canvas,Bitmap->Width,Bitmap->Height,2500,1,pSensor->Test[i].Wave);
Clipboard()->Assign(Bitmap); if (word.Find(pSensor->Test[i].ImgMark,1)==1)
{ word.Delete();
if (ImageRight) word.Paste();
}
DBImgFishImg->CopyToClipboard(); //将数据库中的图像拷贝至 WordDocument->Sentences->Last->Paste(); //WORD中粘贴我的代码:
使用Graphics::TBitmap,画图、拷贝到CLIPBAORD、
WORDL里查找图片位置,删除标示符,粘贴
Bitmap->Width=pSensor->Item.ImgWidth;
Bitmap->Height=pSensor->Item.ImgHeight;
DrawWave(Bitmap->Canvas,Bitmap->Width,Bitmap->Height,2500,1,pSensor->Test[i].Wave);
Clipboard()->Assign(Bitmap); if (word.Find(pSensor->Test[i].ImgMark,1)==1)
{ word.Delete();
if (ImageRight) word.Paste();
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货