Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - BuddyRobbins_Linquest

Pages: [1]
1
Thanks,  That did the trick.

2
Folks,
I'm using the ProCloud server to retrieve a diagram image.  I'm getting the byte-array in the xml for the image, but I'm unable to turn that image into a picture.  What's the trick?

XmlNode node = document.SelectSingleNode("//rdf:RDF/ss:features/ss:diagramimage/rdf:Description/ss:image", nsmgr);
if( node != null)
{
   string rawData = node.InnerText;
   rawData = rawData.Replace("\r\n", "");
   System.Text.UTF8Encoding encoder = new System.Text.UTF8Encoding();
   byte[] byteArray = encoder.GetBytes(rawData.ToCharArray());
   System.IO.File.WriteAllBytes(@"c:\budTemp\mypic.jpg", byteArray);
}

Pages: [1]