签名/首字母签名/ SignatureDate选项卡的位置问题 [英] Signature/Initials/SignatureDate Tabs location issue

查看:475
本文介绍了签名/首字母签名/ SignatureDate选项卡的位置问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很长一段时间以来,我一直在签名/缩写的位置问题。因为一张图片价值1000字,所以我将提供屏幕截图以及json请求。
在此测试中,我试图将签名日期和姓名缩写放在不同的位置,但Y轴坐标相同。
正如您在json请求中看到的那样,它们都具有 yPosition: 315

I have been having an issue with the location of signatures /initials for a long time now. Because a picture is worth a 1000 words, Im going to provide a screenshot as well as a json request. In this test, I am trying to place a signature date and initials at different locations but with same Y axis coordinates. As you can see in the json request, they both have "yPosition": "315"

但是,正如您在下图中看到的那样,它们在文档上共有不同的Yaxis。您是否知道我在想什么/做错了什么?

However, as you can see in the image below, they have a total different Yaxis on the document. Do you have any idea of what I am missing/doing wrong ?

{
  "status":"sent",
  "emailBlurb":"Test Email Body",
  "emailSubject": "Test Email Subject - EnvelopeDefFull",
  "documents": [{
      "name": "test1.pdf",
      "documentId":"1",
        "documentId": "1",
        "name": "Tab Coordinates Test Page.pdf",
        "documentBase64": ".....document Bytes....}],
  "recipients": {
    "signers": [
      {
        "tabs": {
          "initialHereTabs": [
            {
              "scaleValue": "0.6",
              "documentId": "1",
              "recipientId": "2",
              "pageNumber": "1",
              "xPosition": "393",
              "yPosition": "315",
              "anchorUnits": "pixels"
            }
          ],
          "dateSignedTabs": [
            {
              "bold": "True",
              "documentId": "1",
              "recipientId": "2",
              "pageNumber": "1",
              "xPosition": "460",
              "yPosition": "315"
            }
          ]
        },
        "name": "Jane Smith",
        "email": "jane.smith@fakeemail.com",
        "recipientId": "2",
        "customFields": [
          "ROLE-14"
        ]
      }
    ],
   },
  "status": "sent",
  "emailSubject": "Please sign this document",
  "notification": {
    "expirations": {
      "expireEnabled": "True",
      "expireAfter": "5"
    }
  }
}


推荐答案

在大多数情况下, yPosition 与标签的顶部边缘对齐。文本选项卡的顶部边缘(例如:DateSigned,FullName,Company,Title等)似乎与yPosition正确对齐。

In most cases, the yPosition aligns with the top edge of the tab. The top edge of the text tabs(For ex: DateSigned, FullName, Company, Title etc) seem to correctly align with the yPosition.

签名选项卡似乎还有其他地方偏移量,它可以根据使用的scaleValue有所不同。请参阅此答案以获取偏移值。

The signature tabs seems to have additional offset and it can differ based on the scaleValue used. See this answer for the offset values.

提示:您可以使用Docusign控制台标记文档并使用 getRecipients 调用。然后,您可以在API请求中指定这些坐标以创建新的信封。看到此 answer

Tip:You can use the Docusign Console to tag documents and get the accurate X&Y positions using the getRecipients call. You can then specify those coordinates in your API request to create new envelopes. See this answer

GET /v2/accounts/{accountId}/envelopes/{envelopeId}/recipients?include_tabs=true

这篇关于签名/首字母签名/ SignatureDate选项卡的位置问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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