Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Description

Sets or returns the content-type header that will be sent to the browser with the generated Word document.

C#
vb.net

Remarks

ContentType must not be used before Open is called, as the content-type of the file cannot be known until after the file is opened. Getting or setting ContentType before calling Open will throw an exception.

Examples

C#
vb.net
  • No labels