2019年10月21日

Delphi保存网页中的图片

摘要: WEBBrowser已经打开了URL V = WEBBrowser.Document.body.createControlRange(); V1 = WEBBrowser.Document.images.Item(0,0); //这里是一个图片 <img ...> V.add(V1); V.exec 阅读全文

posted @ 2019-10-21 17:39 天军 阅读(681) 评论(0) 推荐(0) 编辑

Delphi 文件转换Base64

摘要: uses EncdDecd; function FileToBase64(FileName: string): string; var MemoryStream: TMemoryStream;begin Result := ''; MemoryStream := TMemoryStream.Crea 阅读全文

posted @ 2019-10-21 16:59 天军 阅读(917) 评论(0) 推荐(0) 编辑

导航