Skip to main content
Any Framework

IronPDF MAUI XAML Extension provides MAUI utility methods such as converting XAML content pages to PDF. Requires the IronPdf package.

Published
May 17, 2024
2y ago
Total Downloads
2.1K
2,112

Install

dotnet add package IronPdf.Extensions.Maui --version 2024.5.2

No framework information available.

README

Nuget Installs windows macOS linux microsoftazure livechat

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

For more support and inquiries, please email us at: [email protected]

Changes from Previous Version

No structural changes between v2024.2.18 and v2024.5.2.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.