|
Product |
ImgWriter |
Version |
1.1.7.21 |
Title |
Using ImgWriter with C# |
Problem |
This article explains how to use ImgWriter in ASP.NET with C# |
Solution |
- Install ImgWriter just as you normally would if you were using it in a classic ASP page. The documentation for installation can be found here.
- Create a .Net callable wrapper for the ImgWriter COM objects by either:
- Create a reference in your Visual Studio .Net application to the ImgWriter dll's that you are using. (SAImageGen.dll and/or the SAImageCollection.dll)
- Use the Type Library Importer tool to manually create an interop assembly.
- Import the namespace for the dlls that you are using into your application.
using SAIMAGECOLLECTIONLib;
using SAIMAGEGENLib;
- Instantiate the objects.
SAIMAGEGENLib.ImageGenClass oImageGen = new SAIMAGEGENLib.ImageGenClass();
SAIMAGECOLLECTIONLib.ImagesClass oImageGenCollection = new SAIMAGECOLLECTIONLib.ImagesClass();
- Start using ImgWriter!
|
Created : 6/17/2004 6:43:59 PM (last modified : 8/11/2004 5:48:25 PM) |