Gnostice Document Studio
.NET
PDFOne
.NET
XtremeDocumentStudio
(for Java)
PDFOne
(for Java)
Gnostice Document Studio
Delphi
eDocEngine
VCL
PDFtoolkit
VCL
StarDocs
Web APIs

Gnostice Blog

Wednesday, March 27, 2019

Drawing 2D vector graphics, images, and text in a Xamarin.Forms control or application

What’s the way to draw 2D graphics in Xamarin.Forms projects? What does the Xamarin.Forms Document Viewer in Gnostice Document Studio .NET use to render documents in the view?

By The Gnostice .NET Team

Late last year we embarked on the project of making Gnostice Document Studio .NET available across platforms by making our code base .NET Standard compliant. We also began development on a completely new Xamarin.Forms Document Viewer that will use the new .NET Standard compliant engines and work on iOS and Android.

For generating the page view image for the Xamarin.Forms viewer, we wanted a have a common code base across all Xamarin target platforms. Searching, we found SkiaSharp. SkiaSharp is a 2D vector graphics system for .NET. It is powered by the open-source Skia graphics engine that is used extensively in Google products. The Skia graphics library abstracts the platform specific graphics engines/API and gives you one common API to use, across devices. It is also the recommended cross-platform 2D vector graphics library to use when programming with Xamarin.

We have been using SkiaSharp in Gnostice Document Studio’s Xamarin.Forms Document Viewer and have achieved what we wanted to. We are now nearing the release of Document Studio .NET v19.2, which will contain the new Xamarin.Forms Document Viewer for iOS and Android.

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