Syncfusion.Xamarin.MetafileRenderer 27.2.4

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Syncfusion.Xamarin.MetafileRenderer --version 27.2.4                
NuGet\Install-Package Syncfusion.Xamarin.MetafileRenderer -Version 27.2.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Syncfusion.Xamarin.MetafileRenderer" Version="27.2.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Syncfusion.Xamarin.MetafileRenderer --version 27.2.4                
#r "nuget: Syncfusion.Xamarin.MetafileRenderer, 27.2.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Syncfusion.Xamarin.MetafileRenderer as a Cake Addin
#addin nuget:?package=Syncfusion.Xamarin.MetafileRenderer&version=27.2.4

// Install Syncfusion.Xamarin.MetafileRenderer as a Cake Tool
#tool nuget:?package=Syncfusion.Xamarin.MetafileRenderer&version=27.2.4                

Syncfusion Xamarin MetafileRenderer library

The Metafile Renderer is a Xamarin library used by Syncfusion Document Processing Libraries for converting the Metafile (EMF and WMF) to SKBitmap image in any Xamarin applications.

Key Features

  • Supports converting Metafiles to image format supported by SkiaSharp.

System Requirements

Getting Started

You can fetch the Syncfusion Xamarin MetafileRenderer library NuGet by simply running the command Install-Package Syncfusion.Xamarin.MetafileRenderer from the Package Manager Console in Visual Studio.

Try the following code example to convert the Metafile to SKBitmap image.

//Load the Metafile.
FileStream docStream = new FileStream(Path.GetFullPath("Input.emf"), FileMode.Open, FileAccess.Read);
//Create a new instance for the MetafileRenderer
MetafileRenderer renderer = new MetafileRenderer();
//Convert the Metafile to SKBitmap Image.
SKBitmap skBitmap = renderer.ConvertToImage(docStream);
//Save the image as stream
using (SKImage skImage = SKImage.FromBitmap(skBitmap))
using (SKData data = skImage.Encode(SKEncodedImageFormat.Png, 100))
using (FileStream stream = new FileStream(Path.GetFullPath("Output.png"), FileMode.Create, FileAccess.ReadWrite))
{
    data.SaveTo(stream);
}

License

This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.

About Syncfusion

Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 29,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.

Today, we provide 1800+ components and frameworks for web (Blazor, ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and Flutter), mobile (Xamarin, Flutter, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI(Preview), Flutter and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.

sales@syncfusion.com | www.syncfusion.com | Toll Free: 1-888-9 DOTNET

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Syncfusion.Xamarin.MetafileRenderer:

Package Downloads
Syncfusion.Xamarin.DocIORenderer

This package provides the functionality to utilize the features of Syncfusion® Xamarin Word To Image/PDF converter and more.

Syncfusion.Xamarin.XlsIORenderer

This package provides the functionality to utilize the features of Syncfusion® Xamarin Excel to Image/PDF converter and more.

Syncfusion.Xamarin.PresentationRenderer

This package provides the functionality to utilize the features of Syncfusion® Xamarin PowerPoint Slide to PDF/Image converter and more.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Syncfusion.Xamarin.MetafileRenderer:

Repository Stars
syncfusion/xamarin-demos
This repository contains the Syncfusion Xamarin UI control’s samples and the guide to use them.
Version Downloads Last updated
28.1.35 46 12/18/2024
28.1.33 163 12/12/2024
27.2.5 182 12/2/2024
27.2.4 223 11/26/2024
27.2.3 175 11/22/2024
27.2.2 379 11/15/2024
27.1.58 178 11/4/2024
27.1.57 283 10/28/2024
27.1.56 186 10/23/2024
27.1.55 171 10/21/2024
27.1.53 245 10/14/2024
27.1.52 176 10/7/2024
27.1.51 210 9/30/2024
27.1.50 193 9/23/2024
27.1.48 568 9/18/2024