can we set default font to black in word document when downloading word document using aspose.words?every time i have to select text and applying color black to tht text...to avoid tht one
Aspose.Words.Document doc
System.IO.MemoryStream Ist = new System.IO.MemoryStream(oFormTemplate);
doc = new Aspose.Words.Document(Ist);
doc.Save(strfilename, Aspose.Words.SaveFormat.Docx);
System.IO.FileStream fs = new System.IO.FileStream(strfilename, System.IO.FileMode.Open, System.IO.FileAccess.Read);
byte[] ImageData = new byte[fs.Length];
fs.Read(ImageData, 0, System.Convert.ToInt32(fs.Length));
fs.Close();
System.IO.File.Delete(strfilename);
Response.Buffer = true;
Response.Clear();
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/docx";
Response.AddHeader("Content-Disposition", "attachment;filename=wordTemplate.docx");
Response.BinaryWrite(ImageData);
Response.End();