I can’t seem to change the title of the pdf. I’ve tried adding the following code
public byte ConvertStreamToPdf(MemoryStream stream)
var doc = new Document(stream);
MemoryStream ms = new MemoryStream(); doc.BuiltInDocumentProperties.Title = "Aspose.Words"; doc.Save(ms, SaveFormat.Pdf); return ms.ToArray();
Does anyone have any ideas where I might be going wrong?