Docusign을 사용하여 C#의 PDF 문서에 서명을 추가하고 있습니다.DocuSign 자동 배치 (앵커 태그 지정) 반환 탭이 페이지 밖으로 배치됩니다. C#
Id, 클래스 및 텍스트 "SignHereLastPage"로이 레이블을 HTML 페이지 끝에 추가합니다. 그런 다음 2 페이지 PDF 파일로 변환합니다.
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<body>
Some html.....
//add in the end
<div class='RightToLeft Signature Bold'> Sing__________________ </div>
<label id='SignHereLastPage' class='SignHereLastPage'style='color:white'>SignHereLastPage</label>
</body>
</html>
내가 2 signHere.PageNumber를 설정하고 모든 잘 작동을 X/Y 위치를 추가,하지만 난 내 textValue에 자동으로 로그인 영역을 추가 할 경우.
내 코드 :
Signer signer = new Signer();
signer.Email = Email;
signer.Name = signerName + LeadName;
signer.RecipientId = signerRecipientId;
signer.Tabs = new Tabs();
signer.Tabs.SignHereTabs = new List<SignHere>();
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<Signer>();
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);
내가
"errorCode를"얻을 오류 : "TAB_OUT_OF_BOUNDS" "메시지": ". 탭 페이지 떨어져 배치 탭 \"SignHere \ "페이지 1에 있습니다." AnchorXOffset/AnchorYOffset을 사용하면 문서 페이지 외부에 배치되는 서명 탭을 일으키는 설정 한 값 때
내 HTML은
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Html For pdf</title>
<link rel='stylesheet' href='test.css'> </head>
<body>
<div class='logo'><img src='https://testservices.colmexpro.com/registration/Styles/Images/layout/LogoForPdf.png' alt='logo'>
</div>
<div class='Main'>
<div class='Bold Center'> ????? ???? ????? ???? ????? </div>
<br/>
<div style='direction: rtl'> ????? ??????? ????? ?????? ??? (???? ???? ??????? ?????), ????'? - 2014, ???? ??? ??????, ?? ??.?'.?? ?????? ???? ??? ??'? (????: '<span class='Bold'>?????</span>') ???? ?? ????? ?????? ????? ??????? ????? ?????. ?? ???? ?????? ????? ???? ?? ???? ????? ?? ???????? ??????? ??????? ???????? ???????? ??????? ????? ?????? ??????? ??????? ?? ???? ????? ??????, ?? ????, ??????, ????? ?? ????? ??????? ?????. </div>
<br/>
<div> ????? ??? ?? ?????? ??????? ?????? ?? ?????? ????? ??????? ?? ????? ????? ??? ?? ?????? ?????? ??????? ????? ??? ??? ?????? ???? ?? ????. ?????? ????? ??????/????/????/???? ???? ????? ????? ??? ????? ?????? ????. </div>
<br/>
<div> ????????, ??????? ???????? ????, ??? ??? ?????. </div>
<div class='Bold HeadlineSecondary'> ?. ????? ?????? </div>
<div class='divTable FirstTable' style='border: 1px solid #000;'>
<div class='MainTable divTableBody'>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ??? ??????? </span>
</div>
<div class='divTableCell'> <span class='answer'> ??? :</span><span class='other'> </span><span class='personal'> Some Other Status</span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ????? </span>
</div>
<div class='divTableCell'> <span class='answer'> </span><span class='other'> </span><span class='personal'> aaa</span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ????? ????? (??????) </span>
</div>
<div class='divTableCell'> <span class='answer'> ??? 1,000,000</span><span class='other'> </span><span class='personal'> </span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ?????? ????? ?????? </span>
</div>
<div class='divTableCell'> <span class='answer'> ??? ?? ?????? ????? ??????</span><span class='other'> </span><span class='personal'> </span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ???? ????? ???? (??????) </span>
</div>
<div class='divTableCell'> <span class='answer'> ???? ? 1,000,000</span><span class='other'> </span><span class='personal'> </span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ???? ????? ???? (??????) </span>
</div>
<div class='divTableCell'> <span class='answer'> ???? ? 100,000</span><span class='other'> </span><span class='personal'> </span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ???? ???? ?????? ?????? </span>
</div>
<div class='divTableCell'> <span class='answer'> ????? ??????</span><span class='other'> </span><span class='personal'> </span>
</div>
</div>
</div>
</div>
<div class='Bold HeadlineSecondary'> ?. ????? ?????? ?? ??? ???? </div>
<div class='divTable SecondTable' style='border: 1px solid #000;'>
<div class='MainTable divTableBody'>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ??? ???? ???? ?? ???? ???? ????? ?????? ???? ???? ???? ????? </span>
</div>
<div class='divTableCell'> <span class='answer'> ??</span><span class='other'> </span><span class='personal'> </span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ??? ????? ???? ?? ???? ???? ????? ?????? ????? ???? ????? </span>
</div>
<div class='divTableCell'> <span class='answer'> ?? ?????</span><span class='other'> </span><span class='personal'> somewhere</span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ??? ???? ?? ????? ????? ??? ?????? ?? ????? ??????? ????? ?? ????? ??????? ???????? </span>
</div>
<div class='divTableCell'> <span class='answer'> ??</span><span class='other'> </span><span class='personal'> </span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ???? ???? ?????? ??????? ???????? ??????? ?????????? ????? ????? ?????. ?? ?? ???, ???? ??? ??? ????? ?????? ????? ?????? ????? ????? ?? ?????? ?????? ????? ???????, ???? ???, ?? ???? ?????? ?????? ????? ?????????? ??? ?? ????? ???? ???? ???? ???. ??? ??????? ????? ??????? ?????, ???? ???? ????? ?????? ???? ??? </span>
</div>
<div class='divTableCell'> <span class='answer'> ??</span><span class='other'> </span><span class='personal'> </span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ??? ???? ?? ????? ?????? ???? ???? ??? ????? ???? ????? ????? ???? ????? ???? ?????? </span>
</div>
<div class='divTableCell'> <span class='answer'> ??</span><span class='other'> </span><span class='personal'> </span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ??? ????? ????????? ????????? ????? ???? ????? ????? ???? ???? ??? ??? ?? ???? ??????? ?????? ????? 12 ?????? ???????? </span>
</div>
<div class='divTableCell InnerTable'> <span class='answer'> <div class='ForPdf divTableRow'><div class='divTableCell'><span class='label'>?????</span>
</div>
<div class='divTableCell'><span class='answer'>120+</span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'>????? ???</span>
</div>
<div class='divTableCell'><span class='answer'>120+</span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'>??? - goood</span>
</div>
<div class='divTableCell'><span class='answer'>120+</span>
</div>
</div>
</span>
</div>
</div>
</div>
</div>
<div class='Bold HeadlineSecondary'> ?. ????? ???? ?????? ????? ????? </div>
<div class='divTable ThirdTable' style='border: 1px solid #000;'>
<div class='MainTable divTableBody'>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ??? ????? ??????? ?????? ????? ???? ??????? ????? (????? ???"?) </span>
</div>
<div class='divTableCell'> <span class='answer'> ??? ? 1,000,000</span><span class='other'> </span><span class='personal'> </span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'> ?? ??? ????? ????? ?? ????? ???????? ??????? ????? ??????? ????? ???? ??? ??? ?? ???? ??????? ????? ????? </span>
</div>
<div class='divTableCell InnerTable'> <span class='answer'> <div class='ForPdf divTableRow'><div class='divTableCell'><span class='label'>?? ???? ?????? ??????? ?????</span>
</div>
<div class='divTableCell'><span class='answer'>100+</span>
</div>
</div>
<div class='ForPdf divTableRow'>
<div class='divTableCell'><span class='label'>???? ?????? ?? ?????</span>
</div>
<div class='divTableCell'><span class='answer'>100+</span>
</div>
</div>
</span>
</div>
</div>
</div>
</div>
</br>
</br>
<div class='RightToLeft Signature Bold'> SignHereLastPage ????? __________________ </div>
</div>
</body>
</html>
가능한 경우 docs.docusign.com을 참조하십시오. 많은 고마움, Larry –
새 문서 링크를 참조했습니다. –
Omg : (지금 작동 중입니다,하지만 다시 중복 된 문제로 돌아갑니다 (이전 질문) –