รหัสตัวอย่างสำหรับการแปลง HTML ‑to‑ XPS ใน .NETใช้โค้ดตัวอย่าง API สำหรับการแปลงแบทช์ HTML -to‑ XPS ภายใน VB.NET, ASP.NET หรือแอปพลิเคชันที่ใช้ NET-ใดก็ได้... Combine ( dataDir , "sample.html" );...); var outputFile = Path . Combine ( dataDir , "html_to_xps.pdf"...