public StreamResult OpenRead(string inputFile, InputOptions inputOptions)
public class CustomDocumentHandler : IDocumentHandler { public DocumentInfo GetInfo(string inputFile) { // Either provide a file name with extension return new DocumentInfo(uniqueId, fileName); // Or specify an explicit document format if you don't have a file name return new DocumentInfo(uniqueId, null, DocumentFormat.Docx); // which can also be written as return new DocumentInfo(uniqueId, format: DocumentFormat.Docx); } public StreamResult OpenRead(string inputFile, InputOptions inputOptions) { return new StreamResult(stream); } }
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add notify@gleamtech.com to your trusted senders list in your email software.