IronPDF MAUI XAML Extension provides MAUI utility methods such as converting XAML content pages to PDF. Requires the IronPdf package.
Install
No framework information available.
README
IronPdf Extensions Package for MAUI .NET Core
Compatibility
Supports web applications and websites developed in MAUI
- .NET Core 2, 3 (and above) for Windows, Linux, macOS and Azure
- .NET 8
- .NET 7
- .NET 6
- .NET 5
The IronPDF MAUI .NET Core extension provides MAUI utility methods such as RenderContentPageToPdf to convert MAUI pages into PDF documents in a MAUI project. The main IronPdf package is still required to achieve this.
Please visit "How to Convert XAML to PDF in MAUI" for a comprehensive guide on how to use the package.
C# Code Example
using Models;
using AutoFixture;
using IronPdf.Extensions.Maui;
namespace MauiTest
{
public partial class MainPage : ContentPage
{
int count = 0;
public MainPage()
{
InitializeComponent();
var _fixture = new Fixture();
var person = _fixture.Build<Person>().Create();
this.BindingContext = person;
}
private void PrintToPdf(object sender, EventArgs e)
{
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderContentPageToPdf<MainPage, App>().Result;
pdf.SaveAs("MainPage.pdf");
}
}
}
Note: This package installs only as an extension, and you also need to install the IronPDF package to use it in your application.
Documentation
- Code Samples : https://ironpdf.com/examples/xaml-to-pdf-maui/
- How-to : https://ironpdf.com/how-to/xaml-to-pdf-maui/
- MSDN Class Reference : https://ironpdf.com/c%23-pdf-documentation/
- Licensing : https://ironpdf.com/licensing/
- Live Chat Support : https://ironpdf.com/#helpscout-support
For more support and inquiries, please email us at: [email protected]
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.