1. i want to convert txt files to pdf , but i just cannot find the code sample.
2.i convert rtf files to pdf the exactly same way with the way i convert MS Word files. i tested , and succeeded. but when my colleagues tried to use my executable to do convert rtf files , they failed.
the code is as follow:
MemoryStream docStream = new MemoryStream();
// New a Doc object.
doc = new Document(source);
// Save the doc in a xml fille that can be handled by Aspose.Pdf.
doc.Save(docStream, SaveFormat.AsposePdf);
// New a pdf object.
pdf = new Pdf();
// Bind content from the named xml file.
pdf.BindXML(docStream, null);
// Save the result
pdf.Save(destination);
//close stream
docStream.Close();
break;
3.By the way , when i came to your forum , i wanted to search my questions myself , but you just do not enable me to do so .