public static LinkedTab CreateTab(Signing.DocuSignWeb.Recipient recipient, string name, string value, string anchorString, int XOffset, int YOffset) { LinkedTab tab = new LinkedTab(); tab.Recipient = recipient; tab.Tab.Type = Signing.DocuSignWeb.TabTypeCode.Custom; tab.Tab.Name = name; tab.Tab.TabLabel = name; tab.Tab.Value = value; tab.Tab.AnchorTabItem = new DocuSignWeb.AnchorTab(); tab.Tab.AnchorTabItem.XOffset = XOffset; tab.Tab.AnchorTabItem.YOffset = YOffset; tab.Tab.AnchorTabItem.AnchorTabString = anchorString; return(tab); }
/// <summary> /// A shortcut function to create a fully functional anchor tab /// </summary> /// <returns>A linked tab which has a fully qualified anchor tab item</returns> public static LinkedTab CreateTab( Signing.DocuSignWeb.TabTypeCode tabType, Signing.DocuSignWeb.Recipient recipient, string anchorString, int XOffset, int YOffset) { Debug.Assert(tabType != DocuSignWeb.TabTypeCode.Custom, "A wrong helper function is used" + " custom tabs should not be created with CreateStandardTab"); LinkedTab tab = new LinkedTab(); tab.Recipient = recipient; tab.Tab.Type = tabType; tab.Tab.AnchorTabItem = new DocuSignWeb.AnchorTab(); tab.Tab.AnchorTabItem.XOffset = XOffset; tab.Tab.AnchorTabItem.YOffset = YOffset; tab.Tab.AnchorTabItem.AnchorTabString = anchorString; return(tab); }
public LinkedTemplateReferenceRoleAssignment(DocuSignWeb.Recipient signer, string roleName) { this.signer = signer; referenceRoleAssignment.RoleName = roleName; }
public static Envelope CreateEnvelopeFromServerTemplates( AccountCredentials accountCredentials, TemplateReference[] templateRefs, Recipient[] signers, EnvelopeInformation envelopeInfo, bool ActivateEnvelope) { DocuSignWeb.APIServiceSoap apiService = CreateApiProxy(accountCredentials); DocuSignWeb.EnvelopeStatus envStatus = apiService.CreateEnvelopeFromTemplates( templateRefs, signers, envelopeInfo, ActivateEnvelope); return new Envelope(envStatus.EnvelopeID, accountCredentials); }
/// <remarks/> public void CreateEnvelopeFromTemplatesAsync(TemplateReference[] TemplateReferences, Recipient[] Recipients, EnvelopeInformation EnvelopeInformation, bool ActivateEnvelope, object userState) { if ((this.CreateEnvelopeFromTemplatesOperationCompleted == null)) { this.CreateEnvelopeFromTemplatesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateEnvelopeFromTemplatesOperationCompleted); } this.InvokeAsync("CreateEnvelopeFromTemplates", new object[] { TemplateReferences, Recipients, EnvelopeInformation, ActivateEnvelope}, this.CreateEnvelopeFromTemplatesOperationCompleted, userState); }
/// <remarks/> public void CreateEnvelopeFromTemplatesAsync(TemplateReference[] TemplateReferences, Recipient[] Recipients, EnvelopeInformation EnvelopeInformation, bool ActivateEnvelope) { this.CreateEnvelopeFromTemplatesAsync(TemplateReferences, Recipients, EnvelopeInformation, ActivateEnvelope, null); }
public EnvelopeStatus CreateEnvelopeFromTemplates(TemplateReference[] TemplateReferences, Recipient[] Recipients, EnvelopeInformation EnvelopeInformation, bool ActivateEnvelope) { object[] results = this.Invoke("CreateEnvelopeFromTemplates", new object[] { TemplateReferences, Recipients, EnvelopeInformation, ActivateEnvelope}); return ((EnvelopeStatus)(results[0])); }
/// <remarks/> public System.IAsyncResult BeginCreateEnvelopeFromTemplates(TemplateReference[] TemplateReferences, Recipient[] Recipients, EnvelopeInformation EnvelopeInformation, bool ActivateEnvelope, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CreateEnvelopeFromTemplates", new object[] { TemplateReferences, Recipients, EnvelopeInformation, ActivateEnvelope}, callback, asyncState); }