是否可以通过 Windows Phone 7 以编程方式填充网页上的输入字段,然后保存输出图像?

发布于 2024-10-08 11:02:12 字数 594 浏览 0 评论 0原文

我正在尝试寻找一个免费的在线服务,当我输入数字(UPC 等)时,该服务将为我生成条形码图像。到目前为止,我只找到了这个网站:

http://www.barcoding.com/upc/

和他们并没有真正的API。他们在该页面上确实有一个表单,我想知道是否有一种方法可以让我的 Windows Phone 应用程序以编程方式将信息输入到表单中,然后在手机屏幕上显示生成的图像。该页面确实将条形码生成器列为“免费服务”,我不会反对在我的应用程序中为它们提供道具。

经过进一步检查,它看起来像是一个 javascript 函数正在调用一个 asp 文件,如下所示:

var cp = new cpaint();
...
cp.call('buildbarcode.asp', 'BuildBarcode', BuildBarcodeCallback, barcode, symbology, fileFormat);

直接从我的应用程序调用 buildbarcode.asp 是否公平(甚至可能)? c# 中是否有相当于 cpaint 的工具?

I'm trying to find a free online service that will generate a barcode image for me, when I enter the number (UPC, etc). So far I have only found this site:

http://www.barcoding.com/upc/

and they don't really have an api. They do have a form on that page, and I was wondering if there was a way my windows phone app could programmatically enter information into the form, and then show the resulting image on the phone screen. The page does list the the barcode generator as "a free service", and I would not be averse to giving them props in my app.

On further inspection, it looks like a javascript function is calling an asp file, like so:

var cp = new cpaint();
...
cp.call('buildbarcode.asp', 'BuildBarcode', BuildBarcodeCallback, barcode, symbology, fileFormat);

Would it be fair (or even possible) to call buildbarcode.asp directly from my app? Is there an equivalent of cpaint for c#?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

半枫 2024-10-15 11:02:12

我认为在您的应用程序中生成条形码会更容易。 codeplex 上有许多开源条形码工具。甚至还有一款可以使用 Wp7 相机读取条形码。

I think it would be easier to generate the barcodes in your application. There are a number of open source barcode tools at codeplex. There's even one there for reading barcodes with the Wp7 camera.

情域 2024-10-15 11:02:12

我不知道是否需要填写一些字段并截取屏幕截图,但您也许可以使用类似此库的内容来生成条形码:

http://www.codeproject.com/KB/graphics/BarcodeLibrary.aspx

I dont know if there's something to fill in the fields and take a screenshot, but you might be able to use something like this library for generating barcodes:

http://www.codeproject.com/KB/graphics/BarcodeLibrary.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文