Hi, I am turning to this forum in absolute desparation to see if anyone can help me, i am building a simple c# forms application which dynamically creates inkenabled group boxes and text boxes, when i call a save function i need to iterate through the dynamically created controls and save to xml, i have the following code whch works fine for the text boxes, but i cannot get the ink
foreach (Control ctr in this.Controls)
{GroupBox group = ctr as GroupBox;
if (group != null)
{
foreach (InkCollector cfg in group.Controls)
{
byte[] base64ISF_bytes;
string base64ISF_string;
// base64ISF_bytes = ic.Ink.Save(PersistenceFormat.Base64InkSerializedF ormat);
base64ISF_bytes = cfg.Ink.Save(PersistenceFormat.Base64InkSerialized Format);
base64ISF_string = utf8.GetString(base64ISF_bytes);
xwriter.WriteRaw("<FieldInfo>" +
"<Control>Signature</Control>");
xwriter.WriteElementString("Value", base64ISF_string);
xwriter.WriteRaw(
"<Name>" + ctr.Text + "</Name>" +
"<Left>" + rect.Left + "</Left>" +
"<Top>" + rect.Top + "</Top>" +
"<Right>" + rect.Right + "</Right>" +
"<Bottom>" + rect.Bottom + "</Bottom>" +
"</FieldInfo>");
any help would be greatly appreciated.