Method | Description | |
---|---|---|
ExportAsActionResult ( IWordDocument document, string filename, FormatType formattype, HttpResponse response, HttpContentDisposition contentDisposition ) : MvcSampleBrowser_2012.Controllers.DocumentResult |
Export the document as ActionResult, returns the DocResult
|
public static ExportAsActionResult ( IWordDocument document, string filename, FormatType formattype, HttpResponse response, HttpContentDisposition contentDisposition ) : MvcSampleBrowser_2012.Controllers.DocumentResult | ||
document | IWordDocument | WordDocument to serialize |
filename | string | Name of the File |
formattype | FormatType | Format type of the document |
response | HttpResponse | Response |
contentDisposition | HttpContentDisposition | HttpContentDisposition |
return | MvcSampleBrowser_2012.Controllers.DocumentResult |