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 |
|