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

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