.NET幫助 .NET MAUI Blazor for (PDF,EXCEL,OCR,BARCODE,QR Code) Jacob Mellor 更新:2025年6月22日 下載 IronPDF NuGet 下載 DLL 下載 Windows Installer 開始免費試用 LLM副本 LLM副本 將頁面複製為 Markdown 格式,用於 LLMs 在 ChatGPT 中打開 請向 ChatGPT 諮詢此頁面 在雙子座打開 請向 Gemini 詢問此頁面 在 Grok 中打開 向 Grok 詢問此頁面 打開困惑 向 Perplexity 詢問有關此頁面的信息 分享 在 Facebook 上分享 分享到 X(Twitter) 在 LinkedIn 上分享 複製連結 電子郵件文章 .NET多平台應用程式 UI (.NET MAUI) 包含 BlazorWebView 控件,允許開發人員使用 Visual Studio 將 MAUI Blazor伺服器應用程式整合到.NET MAUI專案中。 這些Blazor混合應用程序,稱為.NET MAUI Blazor應用程序,能夠將Blazor混合應用程式與特定於平台的功能集成,並渲染 Web UI(使用者介面)控制項。 這些.NET MAUI Blazor應用程式是跨平台應用,因為.NET MAUI是一個跨平台框架,不需要特定於平台的程式碼。 我們可以在 Android 裝置/Android 模擬器、iOS、macOS、Mac Catalyst 和 Windows 作業系統機器上使用.NET MAUI應用程式。 BlazorWebView 控制項可以新增至.NET MAUI本機應用程式的任何頁面,並指向 MAUI Blazor Web 應用程式的根目錄。 然後, .NET MAUI Blazor Web 應用程式的Razor元件將在.NET進程中原生運行,並透過嵌入式 Web 視圖控制項呈現 Web UI 元件。 MAUI Blazor混合應用程式、桌面應用程式或 Windows 窗體可以在.NET MAUI支援的所有不同平台上使用,包括瀏覽器沙盒。 IronPDF:一個.NET PDF 庫 IronPDF 身為 C# 開發人員,您深知擁有合適的工具對於完成工作的重要性。 這時IronPDF就派上用場了。 這款功能強大的.NET類別程式庫讓您輕鬆使用跨平台 API,透過.NET Core和.NET技術建立 PDF 處理應用程式。 IronPDF使用.NET Chromium 引擎將 HTML 頁面(程式碼或 URL 形式)轉換為 PDF 文件,無需複雜的 API 和手動設計工作。 它支援標準網頁文檔,例如 HTML、ASPX、JS、CSS 和圖像。 與Blazor和.NET MAUI相容 IronPDF可以輕鬆整合到使用Blazor元件和.NET MAUI框架建置的應用程式中,為開發人員提供一系列用於建立和操作 PDF 文件的功能。 這些功能包括從 HTML、XML 和其他文件格式產生 PDF 的功能,以及透過新增或修改文字、圖像和其他.NET MAUI工作負載元素來編輯現有 PDF 的功能。 創建.NET MAUI Blazor應用的步驟 請依照下列步驟在 Visual Studio 中建立.NET MAUI應用程式。 步驟 1:開啟 Visual Studio 開啟最新版本的 Visual Studio 並啟用開發者模式。 建議使用最新版本的 Visual Studio。 步驟 2:搜尋.NET Blazor 現在點選"建立新專案"按鈕,搜尋.NET MAUI Blazor範本。 從搜尋結果中選擇".NET MAUI Blazor App",然後按一下"下一步"按鈕。 建立 Visual Studio .NET MAUI應用程式 步驟 3:設定項目名稱 給專案一個合適的名字,然後點選"下一步"按鈕。 步驟 4: .NET Framework 選擇.NET目標框架。 為了獲得流暢的工作體驗,建議使用最新框架。 選擇框架後,點選"建立"按鈕。 依照上述步驟,即可建立一個.NET MAUI Blazor應用程式。 建立 Visual Studio .NET MAUI應用程式 讓我們看看如何將這個根Blazor組件專案用於IronPDF。 將Blazor內容匯出為 PDF 我們可以使用以下程式碼非常輕鬆地將Blazor內容轉換為 PDF。 首先,開啟 Index.razor 文件,並將程式碼替換為以下程式碼: @page "/" <input @bind="InputValue" placeholder="Enter HTML content" /> <button @onclick="SubmitHTML">Render HTML</button> @code { // Property to bind input value private string InputValue { get; set; } // Async method to render HTML as PDF and save private async Task SubmitHTML() { // Create an instance of ChromePdfRenderer var renderer = new IronPdf.ChromePdfRenderer(); // Render the HTML input value as a PDF document var doc = renderer.RenderHtmlAsPdf(InputValue); // Save the document as 'Test.pdf' on the local file system doc.SaveAs("Test.pdf"); } } @page "/" <input @bind="InputValue" placeholder="Enter HTML content" /> <button @onclick="SubmitHTML">Render HTML</button> @code { // Property to bind input value private string InputValue { get; set; } // Async method to render HTML as PDF and save private async Task SubmitHTML() { // Create an instance of ChromePdfRenderer var renderer = new IronPdf.ChromePdfRenderer(); // Render the HTML input value as a PDF document var doc = renderer.RenderHtmlAsPdf(InputValue); // Save the document as 'Test.pdf' on the local file system doc.SaveAs("Test.pdf"); } } $vbLabelText $csharpLabel 這段程式碼用於將生成的 PDF 檔案下載到本機。它展示瞭如何使用IronPDF在不使用任何外部庫的情況下將Blazor內容轉換為 PDF 檔案。 使用.NET MAUI Blazor產生 PDF 我們將在文字方塊中輸入以下HTML程式碼: <!DOCTYPE html> <html> <head> <link href='https://fonts.googleapis.com/css2?family=Popin&display=swap' rel='stylesheet'> <style> /* Add CSS styles for the invoice here */ body{ font-family: 'Popin', cursive; } .invoice { width: 80%; margin: 0 auto; border: 1px solid #ccc; padding: 20px; background-color: #f5f5f5; color: #333; } .invoice h1 { text-align: center; } .invoice .invoice-info { display: flex; justify-content: space-between; margin-bottom: 20px; } .invoice .invoice-info div { width: 45%; } .invoice table { width: 100%; border-collapse: collapse; } .invoice table th, .invoice table td { border: 1px solid #ccc; padding: 10px; } .invoice table th { text-align: left; background-color: #f5f5f5; } .invoice table td { text-align: right; } .invoice table td.total { font-weight: bold; } </style> </head> <body> <div class="invoice"> <h1>Invoice</h1> <div class="invoice-info"> <div> <p><strong>From:</strong></p> <p>Your Company Name</p> <p>123 Main St</p> <p>City, State ZIP</p> </div> <div> <p><strong>To:</strong></p> <p>Customer Name</p> <p>456 Park Ave</p> <p>City, State ZIP</p> </div> </div> <table> <thead> <tr> <th>Product</th> <th>Quantity</th> <th>Price</th> <th>Total</th> </tr> </thead> <tbody> <tr> <td>Product 1</td> <td>1</td> <td>$10.00</td> <td>$10.00</td> </tr> <tr> <td>Product 2</td> <td>2</td> <td>$5.00</td> <td>$10.00</td> </tr> <tr> <td colspan="3" class="total">Total:</td> <td class="total">$20.00</td> </tr> </tbody> </table> </div> </body> </html> <!DOCTYPE html> <html> <head> <link href='https://fonts.googleapis.com/css2?family=Popin&display=swap' rel='stylesheet'> <style> /* Add CSS styles for the invoice here */ body{ font-family: 'Popin', cursive; } .invoice { width: 80%; margin: 0 auto; border: 1px solid #ccc; padding: 20px; background-color: #f5f5f5; color: #333; } .invoice h1 { text-align: center; } .invoice .invoice-info { display: flex; justify-content: space-between; margin-bottom: 20px; } .invoice .invoice-info div { width: 45%; } .invoice table { width: 100%; border-collapse: collapse; } .invoice table th, .invoice table td { border: 1px solid #ccc; padding: 10px; } .invoice table th { text-align: left; background-color: #f5f5f5; } .invoice table td { text-align: right; } .invoice table td.total { font-weight: bold; } </style> </head> <body> <div class="invoice"> <h1>Invoice</h1> <div class="invoice-info"> <div> <p><strong>From:</strong></p> <p>Your Company Name</p> <p>123 Main St</p> <p>City, State ZIP</p> </div> <div> <p><strong>To:</strong></p> <p>Customer Name</p> <p>456 Park Ave</p> <p>City, State ZIP</p> </div> </div> <table> <thead> <tr> <th>Product</th> <th>Quantity</th> <th>Price</th> <th>Total</th> </tr> </thead> <tbody> <tr> <td>Product 1</td> <td>1</td> <td>$10.00</td> <td>$10.00</td> </tr> <tr> <td>Product 2</td> <td>2</td> <td>$5.00</td> <td>$10.00</td> </tr> <tr> <td colspan="3" class="total">Total:</td> <td class="total">$20.00</td> </tr> </tbody> </table> </div> </body> </html> HTML MAUI Blazor應用程式會產生如下所示的輸出結果。 使用.NET MAUI Blazor產生 PDF 獲取有關IronPDF 的更多信息,包括Blazor PDF 創建教程和.NET MAUI應用程式。 IronXL IronXL IronXL是一個.NET庫,允許開發人員使用 C# 讀取、編輯和建立 Excel 電子表格。 它無需安裝 Microsoft Excel,並支援所有平台,包括 Android、iOS、macOS、Windows 機器和 Azure。 它提供了一系列功能,例如從各種格式載入和編輯資料、儲存和匯出為各種格式、處理 System.Data 物件、處理公式、對資料進行排序以及設定儲存格樣式。 此外,它還以NuGet套件的形式提供,並且其網站和GitHub儲存庫中提供了文件和範例。 IronXL支援.NET MAUI和Blazor,使用戶能夠從各種來源存取或獲取數據,包括 Excel 電子表格、Web 或 Azure 服務以及其他應用程式。 IronXL 支援.NET MAUI和Blazor,為開發者提供了最強大的工具,可以在 iOS、macOS、Windows 和 Android 裝置上開發引人入勝的使用者介面。 讓我們來看一段IronXL的範例程式碼: using IronXL; using IronXl.Formatting; using IronXl.Formatting.Enums; using IronXl.Styles; // Load an existing Excel workbook WorkBook workbook = WorkBook.Load("test.xlsx"); WorkSheet sheet = workbook.DefaultWorkSheet; // Create a specific conditional formatting rule for cells with values less than 8 ConditionalFormattingRule rule = sheet.ConditionalFormatting.CreateConditionalFormattingRule(ComparisonOperator.LessThan, "8"); // Set different style options for the rule rule.FontFormatting.IsBold = true; // Bold text rule.FontFormatting.FontColor = "#123456"; // Custom font color rule.BorderFormatting.RightBorderColor = "#ffffff"; // Right border color rule.BorderFormatting.RightBorderType = BorderType.Thick; // Right border thickness rule.PatternFormatting.BackgroundColor = "#54bdd9"; // Background color rule.PatternFormatting.FillPattern = FillPattern.Diamonds; // Fill pattern // Add the formatting rule to the specified cell range sheet.ConditionalFormatting.AddConditionalFormatting("A3:A8", rule); // Create another conditional formatting rule for values between 7 and 10 ConditionalFormattingRule rule1 = sheet.ConditionalFormatting.CreateConditionalFormattingRule(ComparisonOperator.Between, "7", "10"); // Set additional style options for the new rule rule1.FontFormatting.IsItalic = true; // Italic text rule1.FontFormatting.UnderlineType = FontUnderlineType.Single; // Single underline // Add this formatting rule to a different range of cells sheet.ConditionalFormatting.AddConditionalFormatting("A3:A9", rule1); // Save the workbook with the applied conditional formatting workbook.SaveAs("ApplyConditionalFormatting.xlsx"); using IronXL; using IronXl.Formatting; using IronXl.Formatting.Enums; using IronXl.Styles; // Load an existing Excel workbook WorkBook workbook = WorkBook.Load("test.xlsx"); WorkSheet sheet = workbook.DefaultWorkSheet; // Create a specific conditional formatting rule for cells with values less than 8 ConditionalFormattingRule rule = sheet.ConditionalFormatting.CreateConditionalFormattingRule(ComparisonOperator.LessThan, "8"); // Set different style options for the rule rule.FontFormatting.IsBold = true; // Bold text rule.FontFormatting.FontColor = "#123456"; // Custom font color rule.BorderFormatting.RightBorderColor = "#ffffff"; // Right border color rule.BorderFormatting.RightBorderType = BorderType.Thick; // Right border thickness rule.PatternFormatting.BackgroundColor = "#54bdd9"; // Background color rule.PatternFormatting.FillPattern = FillPattern.Diamonds; // Fill pattern // Add the formatting rule to the specified cell range sheet.ConditionalFormatting.AddConditionalFormatting("A3:A8", rule); // Create another conditional formatting rule for values between 7 and 10 ConditionalFormattingRule rule1 = sheet.ConditionalFormatting.CreateConditionalFormattingRule(ComparisonOperator.Between, "7", "10"); // Set additional style options for the new rule rule1.FontFormatting.IsItalic = true; // Italic text rule1.FontFormatting.UnderlineType = FontUnderlineType.Single; // Single underline // Add this formatting rule to a different range of cells sheet.ConditionalFormatting.AddConditionalFormatting("A3:A9", rule1); // Save the workbook with the applied conditional formatting workbook.SaveAs("ApplyConditionalFormatting.xlsx"); $vbLabelText $csharpLabel 以上程式碼可協助您開啟已存在的 Excel 文件,並對不同的儲存格區域套用條件格式。 想了解更多關於IronXL 的教學課程,請參考以下Excel 條件格式教學。 IronOCR IronOCR IronOCR是 C# 開發人員廣泛使用的 OCR 工具,它提供了一個簡單的 API,可以將 OCR 功能整合到 C# 應用程式中。 它能夠有效地從各種來源(例如掃描文件、PDF 和圖像)中提取文本,使用先進的機器學習演算法,即使是扭曲或難以閱讀的文本也能準確識別。 IronOCR為 C# 開發人員提供了一系列自訂選項,包括調整識別文字的語言、字體和字元集、預測收集以及預處理圖像以提高 OCR 準確性的功能。 這些自訂功能可讓開發人員根據自身特定需求優化 IronOCR 的效能。 IronOCR是一個功能強大的 OCR 識別庫,支援.NET MAUI和Blazor。 借助IronOCR,開發人員可以快速在任何平台上建立應用程序,而無需擔心掃描、讀取和寫入大量文字資料的複雜性。 沒有其他 OCR 軟體能夠以如此簡單的整合方式為使用者提供如此豐富的開發工具。 請查看IronOCR範例,該範例示範如何使用IronOCR從 PDF 檔案中提取文字。 using IronOcr; var ocrTesseract = new IronTesseract(); using (var ocrInput = new OcrInput()) { // OCR the entire document ocrInput.AddPdf("example.pdf", "password"); // Alternatively OCR selected page numbers ocrInput.AddPdfPages("example.pdf", new[] { 1, 2, 3 }, "password"); var ocrResult = ocrTesseract.Read(ocrInput); Console.WriteLine(ocrResult.Text); } using IronOcr; var ocrTesseract = new IronTesseract(); using (var ocrInput = new OcrInput()) { // OCR the entire document ocrInput.AddPdf("example.pdf", "password"); // Alternatively OCR selected page numbers ocrInput.AddPdfPages("example.pdf", new[] { 1, 2, 3 }, "password"); var ocrResult = ocrTesseract.Read(ocrInput); Console.WriteLine(ocrResult.Text); } $vbLabelText $csharpLabel 請造訪這篇.NET MAUI中的 OCR 教學課程,閱讀更多關於如何在.NET MAUI中使用IronOCR 的教學。 請使用以下PDF OCR 教學以取得更多關於IronOCR 的教學。 IronBarcode IronBarcode 如何在.NET MAUI中建立條碼掃描器 下載 C# 庫,在毛伊島建立條碼掃描器 利用`Read`方法掃描PDF和影像中的條碼 支援多種條碼格式,包括二維碼、Code 39、Code 128 等。 輕鬆將 C# 庫整合到現有的.NET MAUI和Blazor專案中 對不完美的影像進行預處理。 IronBarcode是一個 C# 庫,它使開發人員能夠輕鬆地向其 C# 應用程式添加條碼讀取和寫入功能。 對於從事涉及掃描或產生條碼的項目(例如庫存管理系統或銷售點系統)的人來說,這個庫尤其有用。 IronBarcode的一個主要特點是能夠讀取和寫入各種條碼格式,包括二維碼、Code 39、Code 128 等。 這意味著開發人員可以根據專案需要,使用它來處理各種不同的條碼類型。 IronBarcode支援.NET MAUI和Blazor,這是開發人員用來建立現代跨平台應用程式的兩個流行框架。 這對開發人員來說是有益的,因為它使他們能夠輕鬆地將 IronBarcode 強大的條碼生成和掃描功能整合到他們的.NET MAUI和Blazor專案中。 以下程式碼範例展示如何使用IronBarcode讀取多種類型的條碼。 這是一個非常簡單易懂的過程。 using IronBarCode; using IronSoftware.Drawing; // Reading a barcode is easy with IronBarcode. // Read from a File, Bitmap, Image, or Stream: var resultFromFile = BarcodeReader.Read(@"file/barcode.png"); // From a file var resultFromBitMap = BarcodeReader.Read(new Bitmap("barcode.bmp")); // From a bitmap var resultFromAnyBitmap = BarcodeReader.Read(new AnyBitmap("barcode.bmp")); // From AnyBitmap var resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg")); // From an image var resultFromStream = BarcodeReader.Read(myStream); // From a stream // PDFs are more intricate and must be read using ReadPdf: var resultFromPdf = BarcodeReader.ReadPdf(@"file/mydocument.pdf"); using IronBarCode; using IronSoftware.Drawing; // Reading a barcode is easy with IronBarcode. // Read from a File, Bitmap, Image, or Stream: var resultFromFile = BarcodeReader.Read(@"file/barcode.png"); // From a file var resultFromBitMap = BarcodeReader.Read(new Bitmap("barcode.bmp")); // From a bitmap var resultFromAnyBitmap = BarcodeReader.Read(new AnyBitmap("barcode.bmp")); // From AnyBitmap var resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg")); // From an image var resultFromStream = BarcodeReader.Read(myStream); // From a stream // PDFs are more intricate and must be read using ReadPdf: var resultFromPdf = BarcodeReader.ReadPdf(@"file/mydocument.pdf"); $vbLabelText $csharpLabel 如需了解更多關於如何在.NET MAUI中使用IronBarcode 的教學課程,請造訪這篇.NET MAUI條碼掃描器教學。 請使用以下條碼掃描器閱讀器教學來取得更多IronBarcode的使用案例和教學。 IronZIP IronZIP IronZIP 是一個免費的開源程式庫,為需要創建使用圖形、圖像和字體的跨平台應用程式的.NET開發人員提供了一個解決方案。 它充當不同圖形庫之間的橋樑,使開發人員能夠在程式碼中使用單一、一致的格式,同時還能使用他們選擇的底層函式庫。 IronZIP 與.NET Framework 4.6.2 及更高版本相容,包括.NET 5、6 和 7。 IronZIP 由Iron Software開發和維護,Iron Software 是一支經驗豐富的.NET開發人員團隊,致力於 .NET 的發展和成功。 他們創建 IronZIP 的目的是為了簡化類別庫和NuGet 的開發,並幫助NuGet生態系統蓬勃發展。 發展IronZIP技術的原因 IronZIP 的開發是為了回應微軟宣布的一項重大變更,其中 System.Drawing.Common 將僅在 Windows 平台上支援。 這項變更為維護使用 System.Drawing.Common 的跨平台程式庫的開發者帶來了一個問題,因為它要求他們重新建置程式庫以支援非 Windows 用戶,例如 Android、iOS。 IronZIP 的創建初衷是作為一種中間格式,用於在不同的圖形庫之間進行轉換,使開發人員更容易過渡到新出現的圖形標準。 IronZIP的特點 IronZIP 提供了多種功能來幫助開發人員進行工作,包括 AnyBitmap,一個通用相容的 Bitmap 類,可以轉換為各種其他 Bitmap 實作; Color,一個普遍相容的 Color 類別; CropRectangle,一個通用相容的矩形類別; 以及 AnyFont,一個通用相容的字型類別。 它還提供了這些類別與其在不同圖形庫中的對應類別之間的隱式類型轉換,從而可以輕鬆地在它們之間進行轉換。 您可以從NuGet網站取得它。 IronZIP 幾乎支援所有.NET模板,包括.NET MAUI和Blazor。 其平台無關性使其易於用於各種應用程序,從 Windows 桌面到行動裝置或基於 Web 的專案。 開源軟體的好處 IronZIP 是一個開源函式庫。 任何人都可以從GitHub儲存庫存取程式碼,這使得自訂和修改庫以更好地適應各個專案和需求變得比以往任何時候都更加容易。 不僅如此,公開原始碼還能鼓勵開發者之間合作,讓他們分享並借鏡彼此的想法。 IronZIP C# 函式庫擁有無限的可能性-快去GitHub查看並開始探索吧! 讓我們來看看 IronZIP 的程式碼範例,它能夠從多種文件格式產生 AnyBitmap。 using IronSoftware.Drawing; AnyBitmap bitmap; // Generate AnyBitmap using filepath bitmap = AnyBitmap.FromFile(@"FILE_PATH"); bitmap.SaveAs("output.bmp"); // Generate AnyBitmap from bytes byte[] bytes = File.ReadAllBytes(@"FILE_PATH"); bitmap = AnyBitmap.FromBytes(bytes); bitmap.SaveAs("result.bmp"); // Generate AnyBitmap from memory stream byte[] bytes = File.ReadAllBytes(@"FILE_PATH"); MemoryStream ms = new MemoryStream(bytes); bitmap = AnyBitmap.FromStream(ms); bitmap.SaveAs("output.bmp"); // Generate AnyBitmap from Uri Uri uri = new Uri("URI_PATH"); bitmap = AnyBitmap.FromUri(uri); bitmap.SaveAs("uriImage.bmp"); // Generate AnyBitmap file from SVG file bitmap = AnyBitmap.FromFile(@"FILE_PATH.svg"); bitmap.SaveAs("result.bmp"); using IronSoftware.Drawing; AnyBitmap bitmap; // Generate AnyBitmap using filepath bitmap = AnyBitmap.FromFile(@"FILE_PATH"); bitmap.SaveAs("output.bmp"); // Generate AnyBitmap from bytes byte[] bytes = File.ReadAllBytes(@"FILE_PATH"); bitmap = AnyBitmap.FromBytes(bytes); bitmap.SaveAs("result.bmp"); // Generate AnyBitmap from memory stream byte[] bytes = File.ReadAllBytes(@"FILE_PATH"); MemoryStream ms = new MemoryStream(bytes); bitmap = AnyBitmap.FromStream(ms); bitmap.SaveAs("output.bmp"); // Generate AnyBitmap from Uri Uri uri = new Uri("URI_PATH"); bitmap = AnyBitmap.FromUri(uri); bitmap.SaveAs("uriImage.bmp"); // Generate AnyBitmap file from SVG file bitmap = AnyBitmap.FromFile(@"FILE_PATH.svg"); bitmap.SaveAs("result.bmp"); $vbLabelText $csharpLabel IronZIP 使用多種方法將檔案從路徑轉換為點陣圖。可以看到,IronZIP 使用記憶體流將檔案轉換為 BMP 格式,這在基於伺服器的應用程式中非常有用。 同樣,您可以使用 SVG 檔案產生 BMP 檔案。 由 IronZIP 開源程式庫產生的點陣圖文件 定價 Iron Software提供一套名為Iron Suite的五款軟體產品。該套件包括IronPDF、 IronXL、 IronOCR、IronWebscraper 和IronBarcode,它們分別是用於處理 PDF、電子表格、圖像、網頁抓取和條碼的工具。 這些產品單獨定價為每許可證 $799 起,但Iron Software為整套產品提供特價捆綁包,起價為 1498 美元。 Iron Iron Suite是需要處理多種檔案類型並需要自動轉換、分析和處理這些檔案的使用者的理想解決方案。 結論 總之, .NET MAUI是一個用於建立跨平台桌面和行動應用程式的框架。 在本文中,我們討論了多個庫,例如IronPDF、 IronXL、 IronBarcode、 IronOCR和 IronZIP,它們提供了創建和操作 PDF 文件、讀取和寫入 Excel 文件、生成和掃描條碼、光學字元識別以及繪製和操作圖形的各種功能。 在這些函式庫中,IronZIP 脫穎而出,成為開發人員在.NET應用程式中建立和編輯向量圖的強大工具。 它提供了廣泛的功能,並且易於使用,使其成為.NET MAUI框架的寶貴補充。 總而言之, .NET MAUI與這些程式庫的結合為開發人員提供了一個多功能的工具包,用於在各種平台上建立現代化且功能豐富的應用程式。 常見問題解答 如何將 PDF 功能整合到 .NET MAUI 應用程式中? 您可以使用 IronPDF 來整合 PDF 功能,這使您能夠使用 .NET Chromium 引擎將 HTML 轉換為 PDF。此整合支持在您的 .NET MAUI 應用程式中創建和操作 PDF 文件。 在 .NET MAUI 專案中使用 Excel 資料庫有什麼優勢? 在您的 .NET MAUI 專案中使用 IronXL 允許您操作 Excel 試算表而無需安裝 Microsoft Excel。它支持在 Android、iOS、macOS 和 Windows 平台上讀取、編輯和創建試算表。 IronOCR 如何在 .NET MAUI 應用中增強文本擷取能力? IronOCR 在 .NET MAUI 應用中提供了先進的 OCR 功能,允許從掃描文檔、PDF 和圖像中準確提取文本。它使用機器學習算法並為語言和字體提供自定義化選項。 在 .NET MAUI 和 Blazor 應用中可以實現什麼樣的條碼功能? IronBarcode 可以整合到 .NET MAUI 和 Blazor 應用中,添加條碼讀取和寫入功能。它支持多種條碼格式,包括 QR 碼和 Code 128,適合於如庫存管理等應用。 IronDrawing 如何有助於跨平台圖形開發? IronDrawing 是一個用於創建跨平台圖形應用的免費開源資料庫。它提供了一個一致的圖形格式,填補了 Microsoft 在 System.Drawing.Common 支援變更後留下的空白。 BlazorWebView 在 .NET MAUI 應用中有什麼作用? BlazorWebView 是 .NET MAUI 中的一個控件,允許開發者將 MAUI Blazor 伺服器應用程式整合到 .NET MAUI 項目中。它通過在本地應用中渲染網頁 UI 控件來促進跨平台應用的創建。 如何使用 .NET MAUI 實現跨平台開發? 使用 .NET MAUI 實現跨平台開發可以通過其框架來構建在 Android、iOS、macOS 和 Windows 平台上運行的應用程式。通過 BlazorWebView 的整合,它進一步增強了這一功能,允許使用網頁 UI 控件。 .NET MAUI 在現代應用開發中有什麼關鍵功能? .NET MAUI 提供了用於構建具備本機效能的跨平台應用的框架。關鍵功能包括整合 BlazorWebView 以用於網頁 UI 控件,並與 IronPDF、IronXL、IronOCR、IronBarcode 和 IronDrawing 資料庫的兼容性以增強功能。 Jacob Mellor 立即與工程團隊聊天 首席技術官 Jacob Mellor是Iron Software的首席技術官,也是開創C# PDF技術的前瞻性工程師。作為Iron Software核心代碼庫的原始開發者,他自公司成立以來就塑造了公司的產品架構,並與CEO Cameron Rimington將公司轉型為服務NASA、Tesla以及全球政府機構的50多人公司。Jacob擁有曼徹斯特大學土木工程一級榮譽學士學位(1998年–2001年)。他於1999年在倫敦開立首家軟體公司,並於2005年建立了他的第一個.NET組件,專注於解決Microsoft生態系統中的複雜問題。他的旗艦作品IronPDF和Iron Suite .NET程式庫全球已獲得超過3000萬次NuGet安裝,他的基礎代碼不斷在全球各地驅動開發者工具。擁有25年以上的商業經驗和41年的編碼專業知識,Jacob仍然專注於推動企業級C#、Java和Python PDF技術的創新,同時指導下一代技術領導者。 相關文章 更新2026年2月20日 銜接 CLI 簡化與 .NET : 使用 Curl DotNet 與 IronPDF for .NET Jacob Mellor 藉由 CurlDotNet 彌補了這方面的不足,CurlDotNet 是為了讓 .NET 生態系統能熟悉 cURL 而建立的函式庫。 閱讀更多 更新2025年12月20日 RandomNumberGenerator C# 使用RandomNumberGenerator C#類可以幫助將您的PDF生成和編輯項目提升至新水準 閱讀更多 更新2025年12月20日 C#字符串等於(它如何對開發者起作用) 當結合使用強大的PDF庫IronPDF時,開關模式匹配可以讓您構建更智能、更清晰的邏輯來進行文檔處理 閱讀更多 .NET Framework 是什麼Blazor 框架是什麼(開發者...
更新2026年2月20日 銜接 CLI 簡化與 .NET : 使用 Curl DotNet 與 IronPDF for .NET Jacob Mellor 藉由 CurlDotNet 彌補了這方面的不足,CurlDotNet 是為了讓 .NET 生態系統能熟悉 cURL 而建立的函式庫。 閱讀更多