diff --git a/File-Formats/DocIO/FAQ.md b/File-Formats/DocIO/FAQ.md index 1d4e589b5..ea59ee26a 100644 --- a/File-Formats/DocIO/FAQ.md +++ b/File-Formats/DocIO/FAQ.md @@ -1,6 +1,6 @@ --- title: FAQ Section | DocIO | Syncfusion -description: Learn about the frequently asked questions in the .NET Word (DocIO) library. +description: In this section, you can discover the various questions asked about manipulation of Word documents using the .NET Word Library (DocIO). platform: file-formats control: DocIO documentation: UG @@ -2432,7 +2432,7 @@ RUN apt-get update -y && apt-get install libfontconfig -y * In production environment (hosted server machine), ensure whether the Visual C++ Redistributable is properly installed. - [Download](https://www.microsoft.com/en-us/download/details.aspx?id=53587) and install Visual C++, if not installed. + [Download](https://www.microsoft.com/en-us/download/details.aspx?id=53840) and install Visual C++, if not installed. ## How to set title when converting Word document to EPUB @@ -2885,3 +2885,9 @@ From v20.2 + +## Why are content controls not preserved as editable form fields in the converted PDF document even when PreserveFormFields is enabled? + +Content controls behave differently from legacy form fields, such as Text, Checkbox, and Drop-down fields, during conversions to PDF format. While legacy form fields are typically preserved as editable form fields in the resulting PDF document, content controls are converted to plain text. The [PreserveFormFields](https://help.syncfusion.com/cr/file-formats/Syncfusion.DocToPDFConverter.DocToPDFConverterSettings.html#Syncfusion_DocToPDFConverter_DocToPDFConverterSettings_PreserveFormFields) API specifically retains the interactive nature of legacy form fields, not content controls. +To ensure that form fields remain editable in the PDF converted from Word document, it is recommended to use [Text](https://help.syncfusion.com/file-formats/docio/working-with-form-fields#text-form-field), [Checkbox](https://help.syncfusion.com/file-formats/docio/working-with-form-fields#check-box), and [Drop-down](https://help.syncfusion.com/file-formats/docio/working-with-form-fields#drop-down) form fields instead of content controls in the Word document. Additionally, to preserve the form fields as editable in the resulting PDF, set the [PreserveFormFields](https://help.syncfusion.com/cr/file-formats/Syncfusion.DocToPDFConverter.DocToPDFConverterSettings.html#Syncfusion_DocToPDFConverter_DocToPDFConverterSettings_PreserveFormFields) API to true. +You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-PDF-Conversion/Create-fillable-PDF-from-Word). \ No newline at end of file diff --git a/File-Formats/PDF/Working-with-OCR/Troubleshooting.md b/File-Formats/PDF/Working-with-OCR/Troubleshooting.md index 98c7f884e..dde43980f 100644 --- a/File-Formats/PDF/Working-with-OCR/Troubleshooting.md +++ b/File-Formats/PDF/Working-with-OCR/Troubleshooting.md @@ -25,7 +25,7 @@ keywords: Assemblies Set proper tesseract binaries and tessdata folder with all files and inner folders. The tessdata folder name is case-sensitive and should not change.

-{% highlight c# tabtitle="C#" %} +{% highlight c# tabtitle="C# [Cross-platform]" %} //TesseractBinaries - path of the folder tesseract binaries. OCRProcessor processor = new OCRProcessor(@"TesseractBinaries/"); @@ -180,7 +180,7 @@ By using the best tessdata, we can improve the OCR results. For more information

1.Execute the following command to install Tesserat 5.

-{% highlight c# tabtitle="C#" %} +{% highlight %} brew install tesseract @@ -189,7 +189,7 @@ brew install tesseract

If the "brew" is not installed on your machine, you can install it using the following command.

-{% highlight c# tabtitle="C#" %} +{% highlight %} /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" @@ -199,7 +199,7 @@ If the "brew" is not installed on your machine, you can install it using the fol 2.Once Tesseract 5 is successfully installed, you can configure the path to the latest binaries by copying the location of the Tesseract folder and setting it as the Tesseract binaries path when setting up the OCR processor. Refer to the example code below:

-{% highlight c# tabtitle="C#" %} +{% highlight %} //Initialize the OCR processor by providing the path of tesseract binaries. using (OCRProcessor processor = new OCRProcessor("/opt/homebrew/Cellar/tesseract/5.3.2/lib")) @@ -209,7 +209,7 @@ using (OCRProcessor processor = new OCRProcessor("/opt/homebrew/Cellar/tesseract 3.Add the TessDataPath from bin folder. Refer to the example code below:

-{% highlight c# tabtitle="C#" %} +{% highlight c# tabtitle="C# [Cross-platform]" %} using (OCRProcessor processor = new OCRProcessor("/opt/homebrew/Cellar/tesseract/5.3.2/lib")) { @@ -253,7 +253,7 @@ using (OCRProcessor processor = new OCRProcessor("/opt/homebrew/Cellar/tesseract

1. Install the leptonica.
-{% highlight c# tabtitle="C#" %} +{% highlight %} sudo apt-get install libleptonica-dev @@ -264,7 +264,7 @@ sudo apt-get install libleptonica-dev 2.Install the tesseract.
-{% highlight c# tabtitle="C#" %} +{% highlight %} sudo apt-get install tesseract-ocr-eng @@ -280,7 +280,7 @@ cp /usr/lib/x86_64-linux-gnu/liblept.so /home/syncfusion/linuxdockersample/linux {% endhighlight %}
-{% highlight c# tabtitle="C#" %} +{% highlight %} cp /usr/lib/x86_64-linux-gnu/libtesseract.so.4 /home/syncfusion/linuxdockersample/linuxdockersample/bin/Debug/net7.0/libSyncfusionTesseract.so diff --git a/File-Formats/Presentation/Charts/Chart-Data-Labels.md b/File-Formats/Presentation/Charts/Chart-Data-Labels.md index 92b0ab417..b1db79e99 100644 --- a/File-Formats/Presentation/Charts/Chart-Data-Labels.md +++ b/File-Formats/Presentation/Charts/Chart-Data-Labels.md @@ -6,7 +6,7 @@ control: PowerPoint documentation: UG --- -# Chart Data Labels +# Chart Data Labels in PowerPoint Data Labels on a chart make it easier to understand. They show important information about the lines or points on the chart. Using Presentation, you can **customize the data labels in the chart**. @@ -247,6 +247,35 @@ chart.Series(0).DataPoints(0).DataLabels.Layout.ManualLayout.Top = 3 {% endhighlight %} {% endtabs %} +## Show Leader lines + +The leader lines can be shown in a chart through [ShowLeaderLines](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.Implementation.Charts.ChartDataLabelsImpl.html#Syncfusion_XlsIO_Implementation_Charts_ChartDataLabelsImpl_ShowLeaderLines) API which can be set to all data labels by enabling the leader lines for [DefaultDataPoint](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.Implementation.Charts.ChartDataPointsCollection.html#Syncfusion_XlsIO_Implementation_Charts_ChartDataPointsCollection_DefaultDataPoint). + +The following code illustrates how to enable the leader lines for all data labels in the chart. + +{% tabs %} +{% highlight c# tabtitle="C# [Cross-platform]" %} + +// Enable the leader lines in Chart. +chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.ShowLeaderLines = true; + +{% endhighlight %} +{% highlight c# tabtitle="C# [Windows-specific]" %} + +// Enable the leader lines in Chart. +chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.ShowLeaderLines = true; + +{% endhighlight %} +{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %} + +' Enable the leader lines in Chart. +chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.ShowLeaderLines = true; + +{% endhighlight %} +{% endtabs %} + +You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Charts/Show-Leader-Lines/.NET). + ## See Also * [How to change text of data labels for Chart in Presentation](https://support.syncfusion.com/kb/article/13828/how-to-change-the-text-in-data-labels-inside-a-chart-in-presentation-using-c-in-aspnet-core) diff --git a/File-Formats/XlsIO/Overview.md b/File-Formats/XlsIO/Overview.md index b2c5649c6..34926b99d 100644 --- a/File-Formats/XlsIO/Overview.md +++ b/File-Formats/XlsIO/Overview.md @@ -1,6 +1,6 @@ --- title: Overview of Syncfusion Excel (XlsIO) library | Syncfusion -description: Essential XlsIO is a .NET Excel library to create, read, edit & convert Excel file in WinForms, WPF, UWP, ASP.NET Core, ASP.NET MVC, Xamarin, Blazor, WinUI and .NET MAUI applications +description: .NET Excel library create, read, edit & convert Excel file in WinForms, WPF, UWP, ASP.NET Core, ASP.NET MVC, Xamarin, Blazor, WinUI and .NET MAUI applications. platform: file-formats control: XlsIO documentation: UG