protected override void Execute(CodeActivityContext context) { Initialize(context); RadioGroupTab radioGroupTab; radioItems = RadioItems.Get(context); spacing = RadioSpacing.Get(context); string[] radioLabels = radioItems.Split(','); int radioItemCount = radioLabels.Length; if (anchorText != null) { generateRadioLabels(radioLabels, anchorText, offsetX, offsetY, doc.documentId, pageNumber, toolTip, tabLabel, bold, italic, underline, font, fontColor, fontSize, spacing, radioItemCount); radioGroupTab = new RadioGroupTab(anchorText, offsetX, offsetY, doc.documentId, pageNumber, toolTip, tabLabel, spacing, radioItemCount, Required, Shared); } else { generateRadioLabels(radioLabels, sigX, sigY, doc.documentId, pageNumber, toolTip, tabLabel, bold, italic, underline, font, fontColor, fontSize, spacing, radioItemCount); radioGroupTab = new RadioGroupTab(sigX, sigY, doc.documentId, pageNumber, toolTip, tabLabel, spacing, radioItemCount, Required, Shared); } AddTabToRecipient(radioGroupTab); }