如何在 CoSign 签名 SOAP API 中更改签名的坐标并将其放置在某些给定文本上(即在此处签名)? [英] How to change the coordinates of Signature in CoSign Signature SOAP API and place it over some given text (i.e. Sign Here)?

查看:17
本文介绍了如何在 CoSign 签名 SOAP API 中更改签名的坐标并将其放置在某些给定文本上(即在此处签名)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 pdf 文件会有一个区域,上面写着在这里签名".它可以在 pdf 中的任何位置(即该区域的坐标未定义).我想在我的 pdf 文件中的给定区域或文本(例如在这里签名")上添加签名.在给定的代码 http://developer.arx.com/quick-start/sapi-web-services/#t-helloworld ,我怎样才能做到这一点?

My pdf file will have an area with the text "Sign here". It could be anywhere in the pdf(i.e. the coordinates for that area is not defined) . I would like to add the signature over that given area or text(eg "Sign Here") in my pdf file. In the given code http://developer.arx.com/quick-start/sapi-web-services/#t-helloworld , how can I achieve this?

推荐答案

您需要知道数字签名的图形部分应该放在哪个页面以及页面上的哪个位置.

You need to know which page, and where on the page, the graphical part of the digital signature should be placed.

动态确定位置的一种方法是添加签名字段定位器".在原始 PDF 中,您包含一个特殊的字段定位器文本字符串,例如 <<<w=100;h=120;n=employee;a=1;>>>

One way to determine the location dynamically is to add a "Signature Field Locator." In the original PDF you include a special Field Locator text string such as <<<w=100;h=120;n=employee;a=1;>>>

您将字段定位器文本颜色设置为与页面的背景颜色相同,以便在查看 pdf 时不会显示.

You set the Field Locator text color to be the same as the page's background color so it won't show when the pdf is viewed.

CoSign Signature Local 包括用于定位和使用字段定位器来设置图形签名位置的方法.查看示例程序.

CoSign Signature Local includes methods for locating and using Field Locators to set the position of a graphical signature. See the example program.

这篇关于如何在 CoSign 签名 SOAP API 中更改签名的坐标并将其放置在某些给定文本上(即在此处签名)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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