Looking to convert docx to pdf in a sharepoint workflow and would like to know if there are any examples around.
What I am looking to do is basicly take a document out of a list and convert it to a pdf. Can I just call the aspose word save comand by using the docx url and the updating the list with the stream from the conversion.
send the url to the aspose word and get a stream back and then add the stream back to the list by using the followingf roughly
Document doc = new Document(ListDocUrl)
MemoryStream dstStream = new MemoryStream();
dstStream.Position = 0;
SPFile spf = webSite.GetFile(ListDocUrl);
spf.ParentFolder.Files.Add(spf.Name, dstStream, true)