-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag positions changed using Anchor #231
Comments
I raised your question with our engineering group. Their reply:
|
Hi Larry, let me clarify. Creating an envelope I place tags on the document using AnchorString then set the AnchorXOffset and AnchorYOffset to adjust the position based on that AnchorString. However upon upgrading the most recent version which uses REST v2.1 all the offsets were off. Seemed to be multiplied by a percent, so wondering if AnchorUnits is not being applied correctly or there's some other scaling issue. As an example I use the following two tags to create a signature line. Matching on the signer's name and then moving the signer tag to the upper left and date signed tag to upper right. After upgrading the tags are no longer placed in the correct spots moving too far to the left and right and too far up. SignHere signAnchor = new SignHere
|
So you're saying that to get the same effect on the document, you've needed to change the offsets as your show in your two versions of the code? Did you turn on responsive signing or make any other change in the envelope while upgrading to v2.1? |
Yes all the offsets were off after upgrading from the 3.1.5 version of the sdk to 4.0.0 (v2.1 of api). And there was no real changes, only some models in 4.0.0 had different parameters i needed to account for. |
Good news, DocuSign Engineering has confirmed the issue as a breaking change for updating to v2.1. I've filed TT-2616 to track the issue. I should have more news tomorrow. Thank you again for the problem report. |
Work is underway to exactly document the positioning offsets in the different situations. |
Converting from 3.1.5 to 4.0.0 all the Anchor Tag placements were off. Seemed like all the Anchor Offsets were increased by a percent, maybe AnchorUnits is not working correctly?
Code Example:
SignHere signAnchor = new SignHere
{
AnchorString = anchorMapping.Trim(),
AnchorXOffset = offsetX.ToString(),
AnchorYOffset = offsetY.ToString(),
AnchorUnits = "pixels",
AnchorIgnoreIfNotPresent = "true",
DocumentId = docID.ToString(),
RecipientId = recID.ToString()
};
The text was updated successfully, but these errors were encountered: