Document Studio .NET
Next-generation .NET compliant multi-format document viewing & processing suite for .NET developers
Compatibility
Visual Studio 2013/2015/2017/2019

Working with the new ASP.NET Document Viewer control in TypeScript projects

Learn how to use the ASP.NET Document Viewer in TypeScript projects
By Shivaranjini Mithun & Pradeep Malage

In version 2016 R3 of Document Studio .NET the ASP.NET Document Viewer supports TypeScript for your client-side code. The required Type Definition files are provided for this.

Type definition files are available as a nuget package. To install them, run the following command in the Package Manager Console

:
Install-Package Gnostice.Web.TypeScript

Here is the link to the package: https://www.nuget.org/packages/Gnostice.Web.TypeScript/16.5.1

Installing the package adds the “gnostice.xtremedocumentstudio” folder under your project’s References\Scripts\typings folder. This new folder contains the new type definition files. Now the Visual Studio IDE starts providing intellisense support for ASP.NET Document Viewer classes and we get code completion, API description and compile time error handling support.

Using type definition files with ReSharper: If you are working with pure JavaScript projects, and you also have the ReSharper installed, then the tool provides type completion support with the help of strongly typed files. For more information on using the type definition files with ReSharper in JavaScript projects please refer:

JavaScript Improvements in ReSharper 8.1

Related articles:

---o0O0o---

Our .NET Developer Tools
Gnostice Document Studio .NET

Multi-format document-processing component suite for .NET developers.

PDFOne .NET

A .NET PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, and bookmark PDF documents in .NET applications.

Our Delphi/C++Builder developer tools
Gnostice Document Studio Delphi

Multi-format document-processing component suite for Delphi/C++Builder developers, covering both VCL and FireMonkey platforms.

eDocEngine VCL

A Delphi/C++Builder component suite for creating documents in over 20 formats and also export reports from popular Delphi reporting tools.

PDFtoolkit VCL

A Delphi/C++Builder component suite to edit, enhance, view, print, merge, split, encrypt, annotate, and bookmark PDF documents.

Our Java developer tools
Gnostice Document Studio Java

Multi-format document-processing component suite for Java developers.

PDFOne (for Java)

A Java PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, bookmark PDF documents in Java applications.

Our Platform-Agnostic Cloud and On-Premises APIs
StarDocs

Cloud-hosted and On-Premises REST-based document-processing and document-viewing APIs

Privacy | Legal | Feedback | Newsletter | Blog | Resellers © 2002-2024 Gnostice Information Technologies Private Limited. All rights reserved.