捕获控制到图像 [英] Capture Control Into Image
本文介绍了捕获控制到图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将表内容(即整个表)捕获到aspx页面的图像文件中。
怎么办?
有一个代码用于捕获屏幕的一部分。
Cature一个矩形的屏幕并保存到一个png文件
I wants to capture Table contents(ie. entire table) into image file in aspx page.
How to do?.
There is a code for captuer a portion of he screen.
Cature a rectangle of the screen and save to a png file
展开 | 选择 | Wrap | 行号
推荐答案
嗨...
所以你可以使用像在以下示例中:
hi ...
so you may use a function like in the following example:
展开 | 选择 | Wrap | 行号
我曾使用此脚本捕获控件及其内容为图像
I had used this script to capture control and its contents as image
展开 | 选择 | Wrap | 行号
此脚本获取GridView的高度,宽度,左侧,顶部。
现在我想通过此位置将此gridview捕获为图像。
我该怎么办?
This script gets the height , width, left, top of the GridView.
Now I want to capture this gridview as image through this position.
How can I?.
展开 | 选择 | Wrap | 行号
这篇关于捕获控制到图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文