Syncfusion.Xamarin.MetafileRenderer
27.2.2
Prefix Reserved
dotnet add package Syncfusion.Xamarin.MetafileRenderer --version 27.2.2
NuGet\Install-Package Syncfusion.Xamarin.MetafileRenderer -Version 27.2.2
<PackageReference Include="Syncfusion.Xamarin.MetafileRenderer" Version="27.2.2" />
paket add Syncfusion.Xamarin.MetafileRenderer --version 27.2.2
#r "nuget: Syncfusion.Xamarin.MetafileRenderer, 27.2.2"
// Install Syncfusion.Xamarin.MetafileRenderer as a Cake Addin #addin nuget:?package=Syncfusion.Xamarin.MetafileRenderer&version=27.2.2 // Install Syncfusion.Xamarin.MetafileRenderer as a Cake Tool #tool nuget:?package=Syncfusion.Xamarin.MetafileRenderer&version=27.2.2
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.
[email protected] | www.syncfusion.com | Toll Free: 1-888-9 DOTNET
Product | Versions 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. |
-
- SkiaSharp (>= 2.88.8)
- Syncfusion.Licensing (>= 27.2.2)
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
This package is not used by any popular GitHub repositories.