How to enable In-Person signing in .NET (Sandbox user)
Friday, February 5, 2016 at 04:45amI want to experiment with In-Person signing in the Sandbox, is it enabled? I tried through the eSignLive UI and also through .NET, here is how I attempted to enable it in .NET, both in package creation (near top) and by Setting it again (near bottom). Did I miss something obvious?
// build the package defining the signers and document
var oViolationPackage =
PackageBuilder.NewPackageNamed(_sPackageName)
.DescribedAs(_sPackageDescription)
.WithSettings(DocumentPackageSettingsBuilder.NewDocumentPackageSettings().WithInPerson())
.WithSenderInfo(oSenderInfo)
.WithSigner(employeeSigner)
.WithSigner(supervisorSigner)
.WithDocument(
DocumentBuilder.NewDocumentNamed(Path.GetFileName(pathFileName))
.FromStream(fs, DocumentType.PDF)
.WithSignature(
employeeSignature
.WithPositionAnchor( TextAnchorBuilder.NewTextAnchor(signer1st.Ident())
.WithOccurrence( 9 )
.AtPosition(TextAnchorPosition.TOPLEFT)
.WithOffset(nSignatureOffSetLeft, nSignatureOffsetTop)
.WithSize(nSignatureWidth, nSignatureHeight)
)
)
.WithSignature(
supervisorSignature
.WithPositionAnchor( TextAnchorBuilder.NewTextAnchor(signer2nd.Ident())
.WithOccurrence(9)
.AtPosition(TextAnchorPosition.TOPLEFT)
.WithOffset(nSignatureOffSetLeft, nSignatureOffsetTop)
.WithSize(nSignatureWidth, nSignatureHeight)
)
)
)
.Build();
// add third signature
if (signerOptional != null)
{
TextAnchor ta = TextAnchorBuilder.NewTextAnchor(signerOptional.Ident())
.AtPosition(TextAnchorPosition.TOPLEFT)
.WithOffset(nSignatureOffSetLeft, nSignatureOffsetTop)
.WithSize(nSignatureWidth, nSignatureHeight)
.Build();
Signature signature = thirdSignature.WithPositionAnchor(ta).Build();
oViolationPackage.Documents[0].Signatures.Add(signature);
}
if (_bSigningOrder)
{ // signers are notified in order
oViolationPackage.GetSigner(signer1st.Email()).SigningOrder = 1;
oViolationPackage.GetSigner(signer2nd.Email()).SigningOrder = 2;
if (signerOptional != null)
{
oViolationPackage.GetSigner(signerOptional.Email()).SigningOrder = 3;
}
}
if (_bSigningParty)
{
oViolationPackage.Settings.EnableInPerson = true;
}
Reply to: How to enable In-Person signing in .NET (Sandbox user)
Friday, February 5, 2016 at 07:08amReply to: How to enable In-Person signing in .NET (Sandbox user)
Friday, February 5, 2016 at 08:25amReply to: How to enable In-Person signing in .NET (Sandbox user)
Friday, February 5, 2016 at 08:34am