XtremeDocumentStudio .NET
Next-generation multi-format document-processing component suite for .NET developers
Compatibility
Visual Studio 2010/2012/2013/2015

Cross Platform, Multi-Format Document Viewing using Xamarin

Learn to use XtremeDocumentStudio .NET’s Cross Platform Xamarin Document Viewer.
By Mohamed Safan

In the October release of XtremeDocumentStudio .NET we introduced the new Xamarin Forms Document Viewer. Using this Document Viewer you can now support viewing of DOCX, DOC, RTF, TEXT, BMP, PNG, and JPEG files in your mobile applications created using the Xamarin platform.

Given below are simple steps to create your first cross-platform multi-format document viewer using Xamarin.

  1. Open Visual Studio -> New Project
  2. Select “Blank App (Xamarin.Forms Portable)” under Cross-Platform
  3. Make sure you have updated to latest version of Xamarin.Forms (NuGet Package) in all the projects in your solution
  4. Install “SkiaSharp” NuGet package (in all the projects in solution)
  5. Refer the following libraries (only in “MyDocumentViewer (Portable)” Portable project)
    1. Gnostice.Core.dll
    2. Gnostice.Documents.dll
    3. Gnostice.Documents.Controls.XamarinForms.dll
  6. Add a sample document in Portable app
    1. Create a Directory “Documents”
    2. Add a sample file “Sample.doc”
    3. Right Click on file -> Properties
    4. Change Build Action to “Embedded Resource”
  7. Activate XtremeDocumentStudio .NET
  8. Create a new instance of DocumentViewer and add it as child of content page
  9. Load a document from the embedded resource

---o0O0o---

Our .NET Developer Tools
XtremeDocumentStudio .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
XtremeDocumentStudio 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
XtremeDocumentStudio (for 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-2017 Gnostice Information Technologies Private Limited. All rights reserved.