diff --git a/File-Formats/DocIO/Working-with-Paragraph.md b/File-Formats/DocIO/Working-with-Paragraph.md index 9017fdb7d..36a7b736c 100644 --- a/File-Formats/DocIO/Working-with-Paragraph.md +++ b/File-Formats/DocIO/Working-with-Paragraph.md @@ -4348,4 +4348,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync * [How to fit image within a text box in the Word document](https://support.syncfusion.com/kb/article/10284/how-to-fit-image-within-a-text-box-in-the-word-document) * [How to find and modify hyperlink address in Word document?](https://support.syncfusion.com/kb/article/12198/find-and-modify-hyperlink-address-in-word-document) * [How to change the character/symbol used for bullet points in Word document?](https://support.syncfusion.com/kb/article/12099/how-to-change-the-character-symbol-used-for-bullet-points-in-word-document) -* [How to resize list character in a Word document?](https://support.syncfusion.com/kb/article/12327/how-to-resize-list-character-in-a-word-document) \ No newline at end of file +* [How to resize list character in a Word document?](https://support.syncfusion.com/kb/article/12327/how-to-resize-list-character-in-a-word-document) +* [How to modify the formatting for the default format of sections, paragraphs, and tables in a Word document?](https://support.syncfusion.com/kb/article/15884/how-to-modify-the-formatting-for-the-default-format-of-sections-paragraphs-and-tables-in-a-word-document?) +* [How to extract images from tables in a Word document?](https://support.syncfusion.com/kb/article/15812/how-to-extract-images-from-tables-in-a-word-document) +* [How to replace all OLE objects with text in a Word document?](https://support.syncfusion.com/kb/article/15654/how-to-replace-all-ole-objects-with-text-in-a-word-document) diff --git a/File-Formats/DocIO/Working-with-Sections.md b/File-Formats/DocIO/Working-with-Sections.md index 1bf2d5a5e..2eac9e015 100644 --- a/File-Formats/DocIO/Working-with-Sections.md +++ b/File-Formats/DocIO/Working-with-Sections.md @@ -1527,4 +1527,6 @@ N> * And also, it is not feasible to get the page-wise details from Word documen * [How to change section break in Word document as page break?](https://www.syncfusion.com/support/kb/13649/how-to-change-section-break-in-word-document-as-page-break) * [How to add multiple page number formats in Word document?](https://www.syncfusion.com/kb/13701/how-to-add-multiple-page-number-formats-in-word-document) * [How to merge two Word documents without header and footer from the source document?](https://www.syncfusion.com/kb/13930/how-to-merge-two-word-documents-without-header-and-footer-from-the-source-document) -* [How to add different header and footer for last page alone in the Word document?](https://www.syncfusion.com/kb/13948/how-to-add-different-header-and-footer-for-last-page-alone-in-the-word-document) \ No newline at end of file +* [How to add different header and footer for last page alone in the Word document?](https://www.syncfusion.com/kb/13948/how-to-add-different-header-and-footer-for-last-page-alone-in-the-word-document) +* [How to modify the formatting for the default format of sections, paragraphs, and tables in a Word document?](https://support.syncfusion.com/kb/article/15884/how-to-modify-the-formatting-for-the-default-format-of-sections-paragraphs-and-tables-in-a-word-document?) +* [Is it possible to fetch page numbers in a Word document using .NET Core DocIO?](https://support.syncfusion.com/kb/article/15907/is-it-possible-to-fetch-page-numbers-in-a-word-document-using-net-core-docio?) diff --git a/File-Formats/DocIO/Working-with-Tables.md b/File-Formats/DocIO/Working-with-Tables.md index 0afefc481..1c91d6770 100644 --- a/File-Formats/DocIO/Working-with-Tables.md +++ b/File-Formats/DocIO/Working-with-Tables.md @@ -2179,4 +2179,6 @@ You can download a complete working sample from [GitHub](https://github.com/Sync * [Is it possible to add/remove column from the table](https://support.syncfusion.com/kb/article/1268/is-it-possible-to-add-remove-column-from-the-table) * [How to insert a row with the same formatting in a Word document](https://support.syncfusion.com/kb/article/11907/how-to-insert-a-row-with-the-same-formatting-in-a-word-document) * [How to split a table without losing their format in Word document using C#?](https://support.syncfusion.com/kb/article/12307/how-to-split-a-table-without-losing-their-format-in-word-document-using-c) -* [How to keep a group of rows always together in a Word document?](https://support.syncfusion.com/kb/article/12367/how-to-keep-a-group-of-rows-always-together-in-a-word-document) \ No newline at end of file +* [How to keep a group of rows always together in a Word document?](https://support.syncfusion.com/kb/article/12367/how-to-keep-a-group-of-rows-always-together-in-a-word-document) +* [How to modify the formatting for the default format of sections, paragraphs, and tables in a Word document?](https://support.syncfusion.com/kb/article/15884/how-to-modify-the-formatting-for-the-default-format-of-sections-paragraphs-and-tables-in-a-word-document?) +* [How to extract images from tables in a Word document?](https://support.syncfusion.com/kb/article/15812/how-to-extract-images-from-tables-in-a-word-document) diff --git a/File-Formats/DocIO/Working-with-Word-document.md b/File-Formats/DocIO/Working-with-Word-document.md index 54a8c0286..219ff05c4 100644 --- a/File-Formats/DocIO/Working-with-Word-document.md +++ b/File-Formats/DocIO/Working-with-Word-document.md @@ -1076,3 +1076,5 @@ You can download a complete working sample from [GitHub](https://github.com/Sync * [Split Word documents](https://help.syncfusion.com/file-formats/docio/word-document/split-word-documents) * [Why it is not possible to access the Word document contents page by page](https://support.syncfusion.com/kb/article/4241/why-it-is-not-possible-to-access-the-word-document-contents-page-by-page-in-winforms-fileformat-libraries-) * [How to find list of used fonts in the Word document?](https://support.syncfusion.com/kb/article/11334/how-to-find-list-of-used-fonts-in-the-word-document) +* [How to modify the formatting for the default format of sections, paragraphs, and tables in a Word document?](https://support.syncfusion.com/kb/article/15884/how-to-modify-the-formatting-for-the-default-format-of-sections-paragraphs-and-tables-in-a-word-document?) +* [Is it possible to fetch page numbers in a Word document using .NET Core DocIO?](https://support.syncfusion.com/kb/article/15907/is-it-possible-to-fetch-page-numbers-in-a-word-document-using-net-core-docio?) diff --git a/File-Formats/DocIO/working-with-mail-merge.md b/File-Formats/DocIO/working-with-mail-merge.md index af3e8493d..aff21a33f 100644 --- a/File-Formats/DocIO/working-with-mail-merge.md +++ b/File-Formats/DocIO/working-with-mail-merge.md @@ -226,4 +226,6 @@ You can restart the list numbering in a Word document during Mail merge. For fur * [How to mail merge Word document in Linux (Mono)](https://support.syncfusion.com/kb/article/9194/how-to-mail-merge-word-document-in-linux-mono-in-aspnet-core) * [How to replace merge field with HTML string using Mail merge](https://support.syncfusion.com/kb/article/10252/how-to-replace-merge-field-with-html-string-using-mail-merge) * [How to mail merge Word document in Docker](https://support.syncfusion.com/kb/article/9397/how-to-mail-merge-word-document-in-docker) -* [Is it possible to merge outer group fields placed within inner nested group using nested mail merge?](https://support.syncfusion.com/kb/article/12362/is-it-possible-to-merge-outer-group-fields-placed-within-inner-nested-group-using-nested) \ No newline at end of file +* [Is it possible to merge outer group fields placed within inner nested group using nested mail merge?](https://support.syncfusion.com/kb/article/12362/is-it-possible-to-merge-outer-group-fields-placed-within-inner-nested-group-using-nested) +* [How to replace merge field with table using mail merge in Word document?](https://support.syncfusion.com/kb/article/15801/how-to-replace-merge-field-with-table-using-mail-merge-in-word-document) +* [How to use multiple documents as data sources for mail merge in a Word document?](https://support.syncfusion.com/kb/article/15775/how-to-use-multiple-documents-as-data-sources-for-mail-merge-in-a-word-document) diff --git a/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md b/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md index 86e9e7882..15e9ee53b 100644 --- a/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md +++ b/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md @@ -853,9 +853,68 @@ Blink binaries (Version 109.0.5414.75), + + +## There was an error opening this document. This file is already open or in use by another application. + + + + + + + + + + + + + +
IssueThere was an error opening this document. This file is already open or in use by another application. +
Reason +The reported issue occurs due to the document or file not being properly disposed or closed, leading to conflicts when attempting to access it again. +
Solution + +We can resolve the reported issue by using the FileStream within the "using" block. +{% tabs %} +{% highlight C# %} + + using (FileStream fs = new FileStream("path_to_file", FileMode.Open)) + { + // Use the file here + } // File stream is automatically closed and disposed + +{% endhighlight %} +{% endtabs %} + +Or + +Dispose of the FileStream at the end of the process and ensure that the file or document is not already open in another application. +{% tabs %} +{% highlight C# %} + + + PdfDocument document = htmlConverter.Convert("); + + FileStream fileStream = new FileStream(baseUrl+ "Bill_PDF_04_16_24.pdf", FileMode.CreateNew, FileAccess.ReadWrite); + + //Save and close the PDF document. + + document.Save(fileStream); + + document.Close(true); + + document.Dispose(); + + fileStream.Dispose(); + +{% endhighlight %} +{% endtabs %} +
+ + ## HTML to PDF Performance Benchmarks: -### Environment Details: +

Environment Details:

@@ -871,7 +930,7 @@ System type : 64-bit operating system, x64-based processor -### Sample Details: +

Sample Details:

@@ -888,7 +947,7 @@ Output Files : https://www.syncfusion.com/downloads/support/directtrac/general/ze/Input1125518413 -### Results: +

Results:

@@ -938,66 +997,9 @@ CPU usage: 64%
Input Page count
-Note: The performance benchmark will vary depending on the following factors, - +N> The performance benchmark will vary depending on the following factors,
  1. External resources loaded in the HTML (Such as Images, Scripts, and Styles)
  2. Network speed for online URL conversions.
  3. Hardware resources (CPU and Memory)
  4. -
- -## There was an error opening this document. This file is already open or in use by another application. - - - - - - - - - - - - - -
IssueThere was an error opening this document. This file is already open or in use by another application. -
Reason -The reported issue occurs due to the document or file not being properly disposed or closed, leading to conflicts when attempting to access it again. -
Solution - -We can resolve the reported issue by using the FileStream within the "using" block. -{% tabs %} -{% highlight C# %} - - using (FileStream fs = new FileStream("path_to_file", FileMode.Open)) - { - // Use the file here - } // File stream is automatically closed and disposed - -{% endhighlight %} -{% endtabs %} - -Or - -Dispose of the FileStream at the end of the process and ensure that the file or document is not already open in another application. -{% tabs %} -{% highlight C# %} - - - PdfDocument document = htmlConverter.Convert("); - - FileStream fileStream = new FileStream(baseUrl+ "Bill_PDF_04_16_24.pdf", FileMode.CreateNew, FileAccess.ReadWrite); - - //Save and close the PDF document. - - document.Save(fileStream); - - document.Close(true); - - document.Dispose(); - - fileStream.Dispose(); - -{% endhighlight %} -{% endtabs %} -
\ No newline at end of file + \ No newline at end of file diff --git a/File-Formats/Presentation/Presentation-to-PDF.md b/File-Formats/Presentation/Presentation-to-PDF.md index f3d9766af..0d56f1bb6 100644 --- a/File-Formats/Presentation/Presentation-to-PDF.md +++ b/File-Formats/Presentation/Presentation-to-PDF.md @@ -12,7 +12,7 @@ PowerPoint allows you to convert an entire Presentation or a single slide into P * [Assemblies Information](https://help.syncfusion.com/file-formats/presentation/assemblies-required) * [NuGet Information](https://help.syncfusion.com/file-formats/presentation/nuget-packages-required#converting-powerpoint-presentation-into-pdf) -To quickly start converting a PowerPoint Presentation to a PDF using .NET PowerPoint libray, please check out this video: +To quickly start converting a PowerPoint Presentation to a PDF using .NET PowerPoint library, please check out this video: {% youtube "https://www.youtube.com/watch?v=nytscOICpWk" %} [PresentationToPdfConverter](https://help.syncfusion.com/cr/file-formats/Syncfusion.PresentationToPdfConverter.PresentationToPdfConverter.html) class is responsible for converting an entire Presentation or a slide into PDF. The following code example demonstrates how to convert a PowerPoint presentation to PDF. @@ -1471,4 +1471,5 @@ You can download a complete working sample from [GitHub](https://github.com/Sync ## See Also * [How to convert PPTX to PDF in Blazor WebAssembly (WASM)?](https://support.syncfusion.com/kb/article/12120/how-to-convert-pptx-to-pdf-in-blazor-webassembly-wasm) -* [How to resolve font problems during PowerPoint to PDF or image conversion?](https://support.syncfusion.com/kb/article/15472/how-to-resolve-font-problems-during-powerpoint-to-pdf-or-image-conversion) \ No newline at end of file +* [How to resolve font problems during PowerPoint to PDF or image conversion?](https://support.syncfusion.com/kb/article/15472/how-to-resolve-font-problems-during-powerpoint-to-pdf-or-image-conversion) +* [How to convert and replace EMF image to PNG with same size during PowerPoint to PDF conversion?](https://support.syncfusion.com/kb/article/15641/how-to-convert-and-replace-emf-image-to-png-with-same-size-during-powerpoint-to-pdf-conversion) diff --git a/File-Formats/Presentation/Presentation-to-image.md b/File-Formats/Presentation/Presentation-to-image.md index b40c1e8d1..2c8a3a7fb 100644 --- a/File-Formats/Presentation/Presentation-to-image.md +++ b/File-Formats/Presentation/Presentation-to-image.md @@ -7,7 +7,7 @@ documentation: UG --- # Presentation to image conversion -To quickly start converting a PowerPoint Presentation to an Image using .NET PowerPoint libray, please check out this video: +To quickly start converting a PowerPoint Presentation to an Image using .NET PowerPoint library, please check out this video: {% youtube "https://www.youtube.com/watch?v=DcH9CptpYHg" %} ## .NET Framework @@ -901,4 +901,5 @@ N> The .NET PowerPoint Library (Presentation) uses System.Drawing functionalitie ## See Also * [How to convert PPTX to Image in Blazor WebAssembly (WASM)?](https://support.syncfusion.com/kb/article/12122/how-to-convert-pptx-to-image-in-blazor-webassembly-wasm) -* [How custom resolution supported in WinForms PowerPoint slide to image conversion?](https://support.syncfusion.com/kb/article/6685/how-custom-resolution-supported-in-winforms-powerpoint-slide-to-image-conversion) \ No newline at end of file +* [How custom resolution supported in WinForms PowerPoint slide to image conversion?](https://support.syncfusion.com/kb/article/6685/how-custom-resolution-supported-in-winforms-powerpoint-slide-to-image-conversion) +* [How to convert and replace EMF image to PNG with same size during PowerPoint to PDF conversion?](https://support.syncfusion.com/kb/article/15641/how-to-convert-and-replace-emf-image-to-png-with-same-size-during-powerpoint-to-pdf-conversion) diff --git a/File-Formats/Presentation/Working-with-OLE-Objects.md b/File-Formats/Presentation/Working-with-OLE-Objects.md index d8e8ec397..fe69eca26 100644 --- a/File-Formats/Presentation/Working-with-OLE-Objects.md +++ b/File-Formats/Presentation/Working-with-OLE-Objects.md @@ -373,4 +373,7 @@ pptxDoc.Close() {% endtabs %} -You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/OLE-objects/Get-OLE-image-data). \ No newline at end of file +You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/OLE-objects/Get-OLE-image-data). + +## See Also +* [How to replace all OLE objects with text in PowerPoint using C#?](https://support.syncfusion.com/kb/article/15653/how-to-replace-all-ole-objects-with-text-in-powerpoint-using-c) diff --git a/File-Formats/Presentation/Working-with-find-and-replace.md b/File-Formats/Presentation/Working-with-find-and-replace.md index 8271e5c27..fe74df9db 100644 --- a/File-Formats/Presentation/Working-with-find-and-replace.md +++ b/File-Formats/Presentation/Working-with-find-and-replace.md @@ -684,4 +684,5 @@ End Using You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Find-and-Replace/Find-and-highlight-in-slide). ## See Also -* [How to replace the hyperlink within a SmartArt in PowerPoint Presentation?](https://support.syncfusion.com/kb/article/15293/how-to-replace-the-hyperlink-within-a-smartart-in-powerpoint-presentation) \ No newline at end of file +* [How to replace the hyperlink within a SmartArt in PowerPoint Presentation?](https://support.syncfusion.com/kb/article/15293/how-to-replace-the-hyperlink-within-a-smartart-in-powerpoint-presentation) +* [How to replace a particular image with text in a PowerPoint Presentation?](https://support.syncfusion.com/kb/article/15652/how-to-replace-a-particular-image-with-text-in-a-powerpoint-presentation) diff --git a/File-Formats/XlsIO/ASP-NET-Core_images/ASP-NET-Core_images_img9.png b/File-Formats/XlsIO/ASP-NET-Core_images/ASP-NET-Core_images_img9.png index 0fcc2bd8e..e97bc4f57 100644 Binary files a/File-Formats/XlsIO/ASP-NET-Core_images/ASP-NET-Core_images_img9.png and b/File-Formats/XlsIO/ASP-NET-Core_images/ASP-NET-Core_images_img9.png differ diff --git a/File-Formats/XlsIO/Create-read-edit-excel-files-in-asp-net-core-c-sharp.md b/File-Formats/XlsIO/Create-read-edit-excel-files-in-asp-net-core-c-sharp.md index 62d1ea7d5..883fda7ea 100644 --- a/File-Formats/XlsIO/Create-read-edit-excel-files-in-asp-net-core-c-sharp.md +++ b/File-Formats/XlsIO/Create-read-edit-excel-files-in-asp-net-core-c-sharp.md @@ -9,6 +9,9 @@ documentation: UG [Syncfusion Excel library for ASP.NET Core platform](https://www.syncfusion.com/document-processing/excel-framework/net-core/excel-library) can be used to create, read, edit Excel files. This also convert Excel files to PDF. +To quickly get started on creating an Excel document in ASP.NET Core, please check out this video: +{% youtube "https://www.youtube.com/watch?v=oLkSFvDLlEk" %} + ## Create a simple Excel report The below steps illustrates creating a simple Invoice formatted Excel document in ASP.NET Core. diff --git a/File-Formats/XlsIO/convert-excel-to-pdf-in-asp-net-core.md b/File-Formats/XlsIO/convert-excel-to-pdf-in-asp-net-core.md index 4468fb7fd..1c006c9bf 100644 --- a/File-Formats/XlsIO/convert-excel-to-pdf-in-asp-net-core.md +++ b/File-Formats/XlsIO/convert-excel-to-pdf-in-asp-net-core.md @@ -10,6 +10,9 @@ documentation: UG Syncfusion XlsIO is a [.NET Core Excel library](https://www.syncfusion.com/document-processing/excel-framework/net-core/excel-library) used to create, read, edit and **convert Excel documents** programmatically without **Microsoft Excel** or interop dependencies. Using this library, you can **convert an Excel document to PDF in ASP.NET Core**. +To quickly get started on converting an Excel document to a PDF in ASP.NET Core, please check out this video: +{% youtube "https://youtu.be/mMrGjypcSLw?si=A7E4E4_vR4505VoD" %} + ## Steps to convert an Excel document to PDF in C# Step 1: Create a new ASP.NET Core Web Application (Model-View-Controller).