Skip to content

Commit 21e3dfe

Browse files
committed
DEVDOCS-12281 - fixing Apply brand to template (eSign29)
1 parent ad9966b commit 21e3dfe

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

launcher-csharp/eSignature/Examples/ApplyBrandToEnvelope.cs

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,8 @@ public static EnvelopeDefinition CreateEnvelope(string signerEmail, string signe
7979
// We're using anchor (autoPlace) positioning
8080
//
8181
// The DocuSign platform searches throughout your envelope's
82-
// documents for matching anchor strings. So the
83-
// signHere2 tab will be used in both document 2 and 3 since they
84-
// use the same anchor string for their "signer 1" tabs.
85-
SignHere signHere1 = new SignHere
86-
{
87-
AnchorString = "**signature_1**",
88-
AnchorUnits = "pixels",
89-
AnchorYOffset = "10",
90-
AnchorXOffset = "20",
91-
};
92-
93-
SignHere signHere2 = new SignHere
82+
// documents for matching anchor strings.
83+
SignHere signHere = new SignHere
9484
{
9585
AnchorString = "/sn1/",
9686
AnchorUnits = "pixels",
@@ -101,7 +91,7 @@ public static EnvelopeDefinition CreateEnvelope(string signerEmail, string signe
10191
// Tabs are set per recipient / signer
10292
Tabs signer1Tabs = new Tabs
10393
{
104-
SignHereTabs = new List<SignHere> { signHere1, signHere2 },
94+
SignHereTabs = new List<SignHere> { signHere }
10595
};
10696
signer1.Tabs = signer1Tabs;
10797

0 commit comments

Comments
 (0)