title: DocuSign Auto-Place (Anchor Tagging) return Tab is placed off of the page c#
body: <p>I am using Docusign to add a signature to my PDF documents in c#.</p>
  
  <p>I am adding this label with Id,class and text "SignHereLastPage" to end of my html page. I then convert it to a 2 page PDF file.</p>
  
  <pre><code> &lt;!DOCTYPE html&gt;
      &lt;html xmlns='http://www.w3.org/1999/xhtml'&gt;
      &lt;body&gt;
      Some html.....
  
       //add in the end
      &lt;div class='RightToLeft Signature Bold'&gt;  Sing__________________ &lt;/div&gt;
      &lt;label id='SignHereLastPage' class='SignHereLastPage'style='color:white'&gt;SignHereLastPage&lt;/label&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>If i will set  signHere.PageNumber to 2,and add x/y Position all working fine,but i want to add this sign zone  automatically with my textValue.</p>
  
  <p>My code:</p>
  
  <pre><code>   Signer signer = new Signer();
     signer.Email = Email;
     signer.Name = signerName + LeadName;
     signer.RecipientId = signerRecipientId;
     signer.Tabs = new Tabs();
     signer.Tabs.SignHereTabs = new List&lt;SignHere&gt;();
     SignHere signHere = new SignHere();
     signHere.AnchorString = "SignHereLastPage";//here my text in html
     signHere.AnchorXOffset = "1";
     signHere.AnchorYOffset = "0";
     signHere.AnchorIgnoreIfNotPresent = "false";
     signHere.AnchorUnits = "inches";
     signer.Tabs.SignHereTabs.Add(signHere);
  
     envDef.Recipients = new Recipients();
     envDef.Recipients.Signers = new List&lt;Signer&gt;();
     envDef.Recipients.Signers.Add(signer);
     envDef.Status = "sent";
  
     ApiClient apiClient = new ApiClient("https://demo.docusign.net/restapi");
  
    DocuSign.eSign.Client.Configuration cfi = new     DocuSign.eSign.Client.Configuration(apiClient);
      string authHeader = "{\"Username\":\"" + x+ "\", \"Password\":\"" + xx+ "\", \"IntegratorKey\":\"" + xxx+ "\"}";
  cfi.AddDefaultHeader("X-DocuSign-Authentication", authHeader);
  EnvelopesApi envelopesApi = new EnvelopesApi(cfi);
  EnvelopeSummary envelopeSummary = envelopesApi.CreateEnvelope(accountID, envDef);
  </code></pre>
  
  <p>The error that i get </p>
  
  <p><strong>"errorCode": "TAB_OUT_OF_BOUNDS",
    "message": "Tab is placed off of the page. Tab \"SignHere\" is located off of page 1."</strong></p>
  
  <p>My html</p>
  
  <pre><code> &lt;!DOCTYPE html&gt;
  &lt;html xmlns='http://www.w3.org/1999/xhtml'&gt;
  
  &lt;head&gt;
      &lt;title&gt;Html For pdf&lt;/title&gt;
      &lt;link rel='stylesheet' href='test.css'&gt; &lt;/head&gt;
  
  &lt;body&gt;
      &lt;div class='logo'&gt;&lt;img src='https://testservices.colmexpro.com/registration/Styles/Images/layout/LogoForPdf.png' alt='logo'&gt;
      &lt;/div&gt;
      &lt;div class='Main'&gt;
          &lt;div class='Bold Center'&gt; ????? ???? ????? ???? ????? &lt;/div&gt;
          &lt;br/&gt;
          &lt;div style='direction: rtl'&gt; ????? ??????? ????? ?????? ??? (???? ???? ??????? ?????), ????'? - 2014, ???? ??? ??????, ?? ??.?'.?? ?????? ???? ??? ??'? (????: '&lt;span class='Bold'&gt;?????&lt;/span&gt;') ???? ?? ????? ?????? ????? ??????? ????? ?????. ?? ???? ?????? ????? ???? ?? ???? ????? ?? ???????? ??????? ??????? ???????? ???????? ??????? ????? ?????? ??????? ??????? ?? ???? ????? ??????, ?? ????, ??????, ????? ?? ????? ??????? ?????. &lt;/div&gt;
          &lt;br/&gt;
          &lt;div&gt; ????? ??? ?? ?????? ??????? ?????? ?? ?????? ????? ??????? ?? ????? ????? ??? ?? ?????? ?????? ??????? ????? ??? ??? ?????? ???? ?? ????. ?????? ????? ??????/????/????/???? ???? ????? ????? ??? ????? ?????? ????. &lt;/div&gt;
          &lt;br/&gt;
          &lt;div&gt; ????????, ??????? ???????? ????, ??? ??? ?????. &lt;/div&gt;
          &lt;div class='Bold HeadlineSecondary'&gt; ?. ????? ?????? &lt;/div&gt;
          &lt;div class='divTable FirstTable' style='border: 1px solid #000;'&gt;
              &lt;div class='MainTable divTableBody'&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ??? ??????? &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ??? :&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt;  Some Other Status&lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ????? &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt; &lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt;  aaa&lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ????? ????? (??????) &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ??? 1,000,000&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt; &lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ?????? ????? ?????? &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ??? ?? ?????? ????? ??????&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt;  &lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ???? ????? ???? (??????) &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ???? ? 1,000,000&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt; &lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ???? ????? ???? (??????) &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ???? ? 100,000&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt; &lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ???? ???? ?????? ?????? &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ????? ??????&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt; &lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class='Bold HeadlineSecondary'&gt; ?. ????? ?????? ?? ??? ???? &lt;/div&gt;
          &lt;div class='divTable SecondTable' style='border: 1px solid #000;'&gt;
              &lt;div class='MainTable divTableBody'&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ??? ???? ???? ?? ???? ???? ????? ?????? ???? ???? ???? ????? &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ??&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt;  &lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ??? ????? ???? ?? ???? ???? ????? ?????? ????? ???? ????? &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ?? ?????&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt;  somewhere&lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ??? ???? ?? ????? ????? ??? ?????? ?? ????? ??????? ????? ?? ????? ??????? ???????? &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ??&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt; &lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ???? ???? ?????? ??????? ???????? ??????? ?????????? ????? ????? ?????. ?? ?? ???, ???? ??? ??? ????? ?????? ????? ?????? ????? ????? ?? ?????? ?????? ????? ???????, ???? ???, ?? ???? ?????? ?????? ????? ?????????? ??? ?? ????? ???? ???? ???? ???. ??? ??????? ????? ??????? ?????, ???? ???? ????? ?????? ???? ??? &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ??&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt; &lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ??? ???? ?? ????? ?????? ???? ???? ??? ????? ???? ????? ????? ???? ????? ???? ?????? &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ??&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt; &lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ??? ????? ????????? ????????? ????? ???? ????? ????? ???? ???? ??? ??? ?? ???? ??????? ?????? ????? 12 ?????? ???????? &lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell InnerTable'&gt; &lt;span class='answer'&gt; &lt;div class='ForPdf divTableRow'&gt;&lt;div class='divTableCell'&gt;&lt;span class='label'&gt;?????&lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='answer'&gt;120+&lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt;????? ???&lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='answer'&gt;120+&lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class='ForPdf divTableRow'&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='label'&gt;??? - goood&lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class='divTableCell'&gt;&lt;span class='answer'&gt;120+&lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;/span&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class='Bold HeadlineSecondary'&gt; ?. ????? ???? ?????? ????? ????? &lt;/div&gt;
      &lt;div class='divTable ThirdTable' style='border: 1px solid #000;'&gt;
          &lt;div class='MainTable divTableBody'&gt;
              &lt;div class='ForPdf divTableRow'&gt;
                  &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ??? ????? ??????? ?????? ????? ???? ??????? ????? (????? ???"?) &lt;/span&gt;
                  &lt;/div&gt;
                  &lt;div class='divTableCell'&gt; &lt;span class='answer'&gt;  ??? ? 1,000,000&lt;/span&gt;&lt;span class='other'&gt;  &lt;/span&gt;&lt;span class='personal'&gt; &lt;/span&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class='ForPdf divTableRow'&gt;
                  &lt;div class='divTableCell'&gt;&lt;span class='label'&gt; ?? ??? ????? ????? ?? ????? ???????? ??????? ????? ??????? ????? ???? ??? ??? ?? ???? ??????? ????? ?????  &lt;/span&gt;
                  &lt;/div&gt;
                  &lt;div class='divTableCell InnerTable'&gt; &lt;span class='answer'&gt; &lt;div class='ForPdf divTableRow'&gt;&lt;div class='divTableCell'&gt;&lt;span class='label'&gt;?? ???? ?????? ??????? ?????&lt;/span&gt;
                  &lt;/div&gt;
                  &lt;div class='divTableCell'&gt;&lt;span class='answer'&gt;100+&lt;/span&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class='ForPdf divTableRow'&gt;
                  &lt;div class='divTableCell'&gt;&lt;span class='label'&gt;???? ?????? ?? ?????&lt;/span&gt;
                  &lt;/div&gt;
                  &lt;div class='divTableCell'&gt;&lt;span class='answer'&gt;100+&lt;/span&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;/span&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;/div&gt;
      &lt;/div&gt;
      &lt;/br&gt;
      &lt;/br&gt;
      &lt;div class='RightToLeft Signature Bold'&gt; SignHereLastPage ????? __________________ &lt;/div&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>