Wiki Markup | ||
---|---|---|
Note | ||
| ||
WordApplication is only available in WordWriter Enterprise Edition. (WordWriter Editions) |
Table of Contents | |
---|---|
|
Description |
---|
Excerpt |
---|
WordApplication is the main class for pure code-based Word document generation (for information about template-based workbook generation, see WordTemplate ). This class is an engine used to open, create, and write (save to disk or stream to a browser) Word documents. A single instance of |
Signature | ||||
---|---|---|---|---|
| ||||
public sealed class WordApplication
{signature}{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public NotInheritable Class WordApplication
{signature}
{remarks}A generated document is represented by the [Document|Document] class.
The {{WordApplication}} class is in the {{ |
Remarks | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A generated document is represented by the Document class. The namespace. The class can can be referenced as {{
. To minimize typing and errors, import the namespace to the aspx page, and reference the class as {{
, without the namespace prefix. If you are coding directly in the .aspx page, following the {{
directive, include: If you are coding in the code \-behind page \(.aspx.cs or .aspx.vb \), include a {{
or {{
statement at the top of the code behind page: {
|
Example | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Properties |
---|
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
| |||||||||
| |||||||||
|
Methods |
---|
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
...
|
...
...
|
...
|
...
|
...
...
|
...
|
...
|
...
| |||
...
...
|
...
|
...
|
...
|
...
|
...
| |||
...
...
|
...
|
...
|
...
|
...
|
...
| |||
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
| |||
...
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
|
...
|
...
|
...
|
Extensionmethods |
---|
Overload | Description |
---|---|
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
| |||
...
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
| |||
...
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...