2014-12-02 49 views
0

當我們將Signature Info傳遞給收件人時,我們在單擊更改樣式時只會獲得一種樣式。我們如何獲得所有可能的風格?我們已經通過首更改樣式列表在簽名過程中只有一種樣式

`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

設置FontStyle是要限制收件人的字體啓用從「簽名採用構造」所有可能的風格。不幸的是,如果提供SignatureInfo,則需要schemaFontStyle

<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>