Sample code for XPS‑to‑EMF conversion in .NET. Use the API example code for batch XPS‑to‑EMF conversion within VB.NET, ASP.NET, or any .NET‑based application....Sample code for XPS‑to‑EMF conversion in .NET. Use the API example code for batch XPS‑to‑EMF conversion within VB.NET, ASP.NET, or any .NET‑based application.