...
...
...
WordApplication is only available in WordWriter Enterprise Edition. (WordWriter Editions)
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 WordApplication can generate multiple documents. |
Signature |
---|
|
public sealed class WordApplication
|
Signature |
---|
|
Public NotInheritable Class WordApplication
|
Remarks |
---|
Note |
---|
| WordApplication is only available in WordWriter Enterprise Edition. |
A generated document is represented by the Document class. The WordApplication class is in the SoftArtisans.OfficeWriter.WordWriter namespace. The class can can be referenced as SoftArtisans.OfficeWriter.WordWriter . To minimize typing and errors, import the namespace to the aspx page, and reference the class as WordApplication , without the namespace prefix. If you are coding directly in the .aspx page, following the Page directive, include: If you are coding in the code-behind page (.aspx.cs or .aspx.vb), include a using or Imports statement at the top of the code behind page: Code Block |
---|
|
using SoftArtisans.OfficeWriter.WordWriter; |
Code Block |
---|
|
Imports SoftArtisans.OfficeWriter.WordWriter |
|
Example |
---|
Code Block |
---|
| //--- Create an instance of the WordApplication class
WordApplication oWordApplication = new WordApplication();
|
Code Block |
---|
| '--- Create an instance of the WordApplication class
Dim oWordApplication As New WordApplication()
|
|
Name | Description |
---|
AlwaysUseUnicode | Excerpt Include |
---|
| WordApplication.AlwaysUseUnicode |
---|
| WordApplication.AlwaysUseUnicode |
---|
nopanel | true |
---|
|
|
LicenseKey | Excerpt Include |
---|
| WordApplication.LicenseKey |
---|
| WordApplication.LicenseKey |
---|
nopanel | true |
---|
|
|
Preserve | Excerpt Include |
---|
| WordApplication.Preserve |
---|
| WordApplication.Preserve |
---|
nopanel | true |
---|
|
|
Version | Excerpt Include |
---|
| WordApplication.Version |
---|
| WordApplication.Version |
---|
nopanel | true |
---|
|
|
Name | Description |
---|
Create() | Excerpt Include |
---|
| WordApplication.Create() |
---|
| WordApplication.Create() |
---|
nopanel | true |
---|
|
|
Open(String) | Excerpt Include |
---|
| WordApplication.Open(String) |
---|
| WordApplication.Open(String) |
---|
nopanel | true |
---|
|
|
Open(System.IO.Stream) | Excerpt Include |
---|
| WordApplication.Open(System.IO.Stream) |
---|
| WordApplication.Open(System.IO.Stream) |
---|
nopanel | true |
---|
|
|
Open(WordTemplate) | Excerpt Include |
---|
| WordApplication.Open(WordTemplate) |
---|
| WordApplication.Open(WordTemplate) |
---|
nopanel | true |
---|
|
|
Save(Document, String) | Excerpt Include |
---|
| WordApplication.Save(Document, String) |
---|
| WordApplication.Save(Document, String) |
---|
nopanel | true |
---|
|
|
Save(Document, System.IO.Stream) | Excerpt Include |
---|
| WordApplication.Save(Document, System.IO.Stream) |
---|
| WordApplication.Save(Document, System.IO.Stream) |
---|
nopanel | true |
---|
|
|
Save(Document, System.Web.HttpResponse, String, Boolean) | Excerpt Include |
---|
| WordApplication.Save(Document, System.Web.HttpResponse, String, Boolean) |
---|
| WordApplication.Save(Document, System.Web.HttpResponse, String, Boolean) |
---|
nopanel | true |
---|
|
|
Save(Document, System.Web.HttpResponse, String, Boolean, String) | Excerpt Include |
---|
| WordApplication.Save(Document, System.Web.HttpResponse, String, Boolean, String) |
---|
| WordApplication.Save(Document, System.Web.HttpResponse, String, Boolean, String) |
---|
nopanel | true |
---|
|
|
WordApplication() | Excerpt Include |
---|
| WordApplication.WordApplication() |
---|
| WordApplication.WordApplication() |
---|
nopanel | true |
---|
|
|
Overload | Description |
---|
Open(Microsoft.SharePoint.SPDocumentLibrary, String) | Excerpt Include |
---|
| SharePointIntegration.Open(WordApplication, Microsoft.SharePoint.SPDocumentLibrary, String) |
---|
| SharePointIntegration.Open(WordApplication, Microsoft.SharePoint.SPDocumentLibrary, String) |
---|
nopanel | true |
---|
|
|
Open(Microsoft.SharePoint.SPListItem, String) | Excerpt Include |
---|
| SharePointIntegration.Open(WordApplication, Microsoft.SharePoint.SPListItem, String) |
---|
| SharePointIntegration.Open(WordApplication, Microsoft.SharePoint.SPListItem, String) |
---|
nopanel | true |
---|
|
|
Save(Document, Microsoft.SharePoint.SPDocumentLibrary, String, Boolean) | Excerpt Include |
---|
| SharePointIntegration.Save(WordApplication, Document, Microsoft.SharePoint.SPDocumentLibrary, String, Boolean) |
---|
| SharePointIntegration.Save(WordApplication, Document, Microsoft.SharePoint.SPDocumentLibrary, String, Boolean) |
---|
nopanel | true |
---|
|
|
Save(Document, Microsoft.SharePoint.SPListItem, String) | Excerpt Include |
---|
| SharePointIntegration.Save(WordApplication, Document, Microsoft.SharePoint.SPListItem, String) |
---|
| SharePointIntegration.Save(WordApplication, Document, Microsoft.SharePoint.SPListItem, String) |
---|
nopanel | true |
---|
|
|