如何从编程方式将richtextbox中的图像保存到文件夹中 [英] How can I save image inside richtextbox to folder from programically

查看:80
本文介绍了如何从编程方式将richtextbox中的图像保存到文件夹中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含图像和文本的richtextbox控件,我想以编程方式删除所有文本并将图像保存在特定文件夹中而不选择图像



< b>我尝试了什么:



有些人可以用一些代码来帮助我吗

i have a richtextbox control with image and text, i want to programmically remove all the text and save the image in a specific folder without selecting the image

What I have tried:

Can some body help me with some codes to do that

推荐答案

图像来自哪里?如果你创建并插入它,你有没有参考它?



如果你没有参考图像,你可以使用这些CP文章中的代码来提取它们:[ ^ ] ...请参阅图像转换器部分和[ ^ ]和[ ^ ]提取它们。
Where did the image(s) come from ? If you created and inserted it, don't you have a reference to it ?

If you don't have a reference to the image(s), you can use the code in these CP articles to extract them: [^] ... see the section "Image Converter," and [^], and [^] to extract them.


这篇关于如何从编程方式将richtextbox中的图像保存到文件夹中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆