当我们通过收件人传递签名信息时,我们在点击更改样式时只获得一种样式。我们怎样才能获得所有可能的款式?我们已经启用了#34; Signature Adoption Configuration"的所有可能样式。通过偏好
`var r1 = new Recipient
{
UserName = String.Format("{0} {1}", "cvdf", "Test"),
Email = Session[Keys.ApiEmail].ToString(),
ID = "1",
//SignerName = String.Format("{0} {1}", "cvdf", "R"),
//SignatureInfo = new RecipientSignatureInfo { SignatureName = String.Format("{0} {1}", "ertert", "R"), SignatureInitials = "R".Substring(0, 1), FontStyle = (FontStyleCode.DocuSign8)},
SignatureInfo = new RecipientSignatureInfo { SignatureName = String.Format("{0} {1}", "cvdf", "Test"), SignatureInitials = "Test".Substring(0, 1)},
Type = RecipientTypeCode.Signer,
CaptiveInfo = new RecipientCaptiveInfo { ClientUserId = "1" }
};
runningList.Add(r1);`
答案 0 :(得分:0)
设置FontStyle
会将该收件人限制为该字体。不幸的是,如果提供FontStyle
,则需要schema SignatureInfo
。
<s:complexType name="RecipientSignatureInfo">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SignatureName" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="SignatureInitials" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="FontStyle" type="tns:FontStyleCode"/>
</s:sequence>
</s:complexType>