Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion File-Formats/DocIO/Working-with-Paragraph.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
* [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)
4 changes: 3 additions & 1 deletion File-Formats/DocIO/Working-with-Sections.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
* [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?)
4 changes: 3 additions & 1 deletion File-Formats/DocIO/Working-with-Tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
* [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)
2 changes: 2 additions & 0 deletions File-Formats/DocIO/Working-with-Word-document.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?)
4 changes: 3 additions & 1 deletion File-Formats/DocIO/working-with-mail-merge.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
* [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)
126 changes: 64 additions & 62 deletions File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -853,9 +853,68 @@ Blink binaries (Version 109.0.5414.75),

</table>



## There was an error opening this document. This file is already open or in use by another application.

<table>
<th style="font-size:14px" width="100px">Issue</th>
<th style="font-size:14px">There was an error opening this document. This file is already open or in use by another application.
</th>
<tr>
<th style="font-size:14px" width="100px">Reason
</th>
<td>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.
</td>
</tr>
<tr>
<th style="font-size:14px" width="100px">Solution</th>
<td>

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 %}
</td>
</tr>

</table>


## HTML to PDF Performance Benchmarks:

### Environment Details:
<h2>Environment Details:</h2>



Expand All @@ -871,7 +930,7 @@ System type : 64-bit operating system, x64-based processor



### Sample Details:
<h2>Sample Details:</h2>



Expand All @@ -888,7 +947,7 @@ Output Files : <a href="https://www.syncfusion.com/downloads/support/dire
Input Files : <a href="https://www.syncfusion.com/downloads/support/directtrac/general/ze/Input1125518413">https://www.syncfusion.com/downloads/support/directtrac/general/ze/Input1125518413</a>


### Results:
<h2>Results:</h2>

<table border="1">
<th style="font-size:14px" width="100px">Input Page count</th>
Expand Down Expand Up @@ -938,66 +997,9 @@ CPU usage: 64%</td>
</tr>
</table>

Note: The performance benchmark will vary depending on the following factors,

N> The performance benchmark will vary depending on the following factors,
<ol>
<li>External resources loaded in the HTML (Such as Images, Scripts, and Styles)</li>
<li>Network speed for online URL conversions.</li>
<li>Hardware resources (CPU and Memory)</li>
</ol>

## There was an error opening this document. This file is already open or in use by another application.

<table>
<th style="font-size:14px" width="100px">Issue</th>
<th style="font-size:14px">There was an error opening this document. This file is already open or in use by another application.
</th>
<tr>
<th style="font-size:14px" width="100px">Reason
</th>
<td>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.
</td>
</tr>
<tr>
<th style="font-size:14px" width="100px">Solution</th>
<td>

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 %}
</td>
</tr>

</table>
</ol>
5 changes: 3 additions & 2 deletions File-Formats/Presentation/Presentation-to-PDF.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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)
* [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)
5 changes: 3 additions & 2 deletions File-Formats/Presentation/Presentation-to-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
* [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)
5 changes: 4 additions & 1 deletion File-Formats/Presentation/Working-with-OLE-Objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
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)
3 changes: 2 additions & 1 deletion File-Formats/Presentation/Working-with-find-and-replace.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
* [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)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions File-Formats/XlsIO/convert-excel-to-pdf-in-asp-net-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down