Aspose.Words for .NET Samples 1.0

 Downloads & Files



Example Aspose.Words.Samples.zip
example, 5464K, uploaded Aug 3 2007  - 551 downloads

Release Notes

Contains several demo projects for Aspose.Words for .NET. Source code in C# and VB.NET is provided along with a small .mdb database and test documents used in the demo projets.

What's in the Download

Unzip the download into some directory. Here is a quick overview of the directory structure:
  • Bin\net1.1 and Bin\net2.0 - contain Aspose.Words.dll (one for .NET 1.1 and another for .NET 2.0). Aspose.Words works in evaluation mode by default, but it is a full product. The sample projects reference Aspose.Words.dll in these folder.
  • Demos\Common - contains an .mdb database and test documents used by the samples.
  • Demos\CSharp and Demos\VisualBasic - contain source code of the samples.
  • InstallHelper - contains dlls of other Aspose components used by the sample projects (these also work in evaluation mode).

Notes

  • Microsoft Visual Studio 2003 and 2005 versions of the projects are provided in the same folder. The names are <ProjectName>.2003.csproj and <ProjectName>.2005.csproj respectively.
  • The Examples project references NUnit 2.2. You need to have NUnit installed and you might have to recreate the reference to it when you open the Examples project.
  • Before you can use the WebForms.2003 and WebForms.VisualBasic.2003 projects, you need to create virtual directories in IIS. You need to create an "Aspose.Words.WebForms" virtual directory if you want to use the C# project and "Aspose.Words.WebForms.VisualBasic" virtual directory if you want to use the VB.NET project. The WebForms.2005 project does not require IIS virtual directories as it uses the Visual Studio's built-in ASP.NET server.
  • Although Aspose.Words for .NET 2.0 can be used to build 32-bit and 64-bit applications, some sample projects retrieve data from a Microsoft Access database and currently Microsoft does not provide 64-bit drivers for it, so you might have to switch from AnyCPU to x86 in the project properties.

Sample Projects

This section describes sample projects included in the release.

DocumentExplorer

This sample project is a GUI application that you can use to learn various things about Aspose.Words:
  • See, feel and modify the tree of the Aspose.Word Document Object Model when you open a document. The nodes in the tree represent objects in memory and correspond to classes of the Aspose.Words API.
  • Open documents in all formats supported by Aspose.Words (DOC, RTF, WordML, HTML).
  • Convert documents into any format supported by Aspose.Words (DOC, RTF, WordML, HTML, TXT and PDF).

Examples

This project contains many code examples that we use in the Aspose.Words API Reference. Some example topics are:
  • Open, save and convert documents.
  • Generate documents from scratch.
  • Insert text, headers/footers, images into documents.
  • Modify formatting of text, paragraphs, sections, lists.
  • Populate documents with data and images from a data source.
  • Copy fragments, combine documents.

WebForms

This sample includes 10 scenarios where a document or report is generated and sent to the client browser in any format supported by Aspose.Words. Each scenario demonstrates a particular Aspose.Words feature or a useful technique. Some examples are:
their output into Microsoft Word documents.
  • Generate a sales invoice from a template document and save it as PDF.
  • Perform "nested mail merge" for master-child data to generate a product catalog.
  • Generate mailing labels.
  • Format numeric or datetime fields during Aspose.Words mail merge.
  • Use other Aspose components, for example Aspose.Chart and Aspose.BarCode and insert

WinForms

This sample is exactly the same as the WebForms sample, but it saves the generated documents to disk instead of sending to the client browser.


 Reviews for this release
No reviews yet for this release.
Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Version 2009.6.1.15196