How do I set the pageSetup.TopMarin, Left,Bottom, Right and the PaperSize?
Can I also insert a shape? and how?
My current project is a Classic ASP app, and I response.redirect data to an aspx file to create my custom header to merge with the correct resume. I just wondered if I could have kept it all in Classic ASP.
thaks
mjc
How to program in classic ASP is shown in the following article:
https://docs.aspose.com/words/net/supported-platforms/#com
In brief, instantiating of a .NET object inside a COM client is similar to creating a COM object. There are two important moments you should keep in mind - usage of enumerations and overloaded methods:
- Some methods have overloads and they will be exposed to COM clients with a number suffix added to them except the very first method that stays unchanged. For example, DocumentBuilder.InsertImage method overloads become DocumentBuilder.InsertImage, DocumentBuilder.InsertImage_2, DocumentBuilder.InsertImage_3, and so on. The order in which method overloads are shown in the API documentation corresponds to the way they are numbered. This is the approach that .NET COM Interop takes to make overloaded methods available to COM clients.
- Enumeration values like PaperSize.A4 should be substituted with numeric values. The relation between enum values and numeric values is given in the end of the article. For example,
- PaperSize.A3 = 0,
- PaperSize.A4 = 1,
- PaperSize.A5 = 2,
- etc.
Keeping these two moments in mind everything that can be done in ASP.NET can be done in classic ASP too.
Hope this helps,