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
7 changes: 5 additions & 2 deletions File-Formats/DocIO/Charts/Chart-Axis.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ control: DocIO
documentation: UG
---

# Chart Axis
# Chart Axis in Word document

Charts typically have two axes that are used to measure and categorize data.
- Horizontal axis (also known as category axis or x axis).
Expand Down Expand Up @@ -670,4 +670,7 @@ chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 11, 1];
chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 11, 1)

{% endhighlight %}
{% endtabs %}
{% endtabs %}

## See Also
* [How to set the X-axis label position of the chart in the ASP.NET Core Word document?](https://support.syncfusion.com/kb/article/15443/how-to-set-the-x-axis-label-position-of-the-chart-in-the-aspnet-core-word-document?)
Original file line number Diff line number Diff line change
Expand Up @@ -348,4 +348,4 @@ N> To convert Word to PDF, it is necessary to access the font stream internally.

Click [here](https://www.syncfusion.com/document-processing/word-framework/blazor) to explore the rich set of Syncfusion Word library (DocIO) features.

An online sample link to [convert Word document to PDF](https://blazor.syncfusion.com/demos/word/word-to-pdf?theme=fluent) in Blazor.
An online sample link to [convert Word document to PDF](https://blazor.syncfusion.com/demos/word/word-to-pdf?theme=fluent) in Blazor.
1 change: 1 addition & 0 deletions File-Formats/DocIO/Working-with-Find-and-Replace.md
Original file line number Diff line number Diff line change
Expand Up @@ -1675,3 +1675,4 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
* [How to find and replace a text with chart in Word document?](https://support.syncfusion.com/kb/article/13951/how-to-find-and-replace-a-text-with-chart-in-word-document)
* [How to find and replace a text with hyperlink in Word document?](https://support.syncfusion.com/kb/article/13954/how-to-find-and-replace-a-text-with-hyperlink-in-word-document)
* [How to find and replace a text with Table of Contents (TOC) in Word document?](https://support.syncfusion.com/kb/article/13958/how-to-find-and-replace-a-text-with-table-of-contents-toc-in-word-document)
* [How to replace text in a Word document with HTML in ASP.NET Core?](https://support.syncfusion.com/kb/article/15520/how-to-replace-text-in-a-word-document-with-html-in-aspnet-core?)
74 changes: 74 additions & 0 deletions File-Formats/DocIO/Working-with-LaTeX.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,80 @@ The following table demonstrates the LaTeX equivalent to professional format del
</tr>
</table>

## Equation Array

Add **equation array** to a Word document using the LaTeX through [AppendMath](https://help.syncfusion.com/cr/file-formats/Syncfusion.DocIO.DLS.WParagraph.html#Syncfusion_DocIO_DLS_WParagraph_AppendMath_System_String_) API.

The following code example illustrates how to create an equation array using LaTeX in Word document.

{% tabs %}
{% highlight c# tabtitle="C# [Cross-platform]" %}

// Create a new Word document.
using WordDocument document = new WordDocument();

//Add one section and one paragraph to the document.
document.EnsureMinimal();

//Append an box equation using LaTeX.
document.LastParagraph.AppendMath(@"\eqarray{a@&b}");

//Save the Word document to MemoryStream
using MemoryStream stream = new MemoryStream();
document.Save(stream, FormatType.Docx);

{% endhighlight %}
{% highlight c# tabtitle="C# [Windows-specific]" %}

// Create a new Word document.
using WordDocument document = new WordDocument();

//Add one section and one paragraph to the document.
document.EnsureMinimal();

//Append an box equation using LaTeX.
document.LastParagraph.AppendMath(@"\eqarray{a@&b}");

//Save the Word document.
document.Save("Result.docx", FormatType.Docx);

{% endhighlight %}
{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}

' Create a new Word document.
Dim document As WordDocument = New WordDocument()

'Add one section and one paragraph to the document.
document.EnsureMinimal()

'Append an box equation using LaTeX.
document.LastParagraph.AppendMath(@"\eqarray{a@&b}");

'Save the Word document.
document.Save("Result.docx", FormatType.Docx)

{% endhighlight %}
{% endtabs %}

You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Mathematical-Equation/LaTeX-equations/Equation-array/.NET).

The following table demonstrates the LaTeX equivalent to professional format equation array.

<table>
<thead>
<tr>
<th width="20%">S.No</th>
<th width="40%">Professional</th>
<th width="40%">LaTeX</th>
</tr>
</thead>
<tr>
<td>1.</td>
<td><img src="WorkingwithMathematicalEquation_images/EquationArray1.png" alt="Equation array"></td>
<td>\eqarray{a@&b}</td>
</tr>
</table>

## Fraction

Add **fraction** equation to a Word document using the LaTeX through [AppendMath](https://help.syncfusion.com/cr/file-formats/Syncfusion.DocIO.DLS.WParagraph.html#Syncfusion_DocIO_DLS_WParagraph_AppendMath_System_String_) API.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion File-Formats/Presentation/Charts/Chart-Axis.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ control: PowerPoint
documentation: UG
---

# Chart Axis
# Chart Axis in PowerPoint

Charts typically have two axes that are used to measure and categorize data.
- Horizontal axis (also known as category axis or x axis).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ using Syncfusion.PresentationRenderer;
{% endhighlight %}
{% endtabs %}

Step 9: Create a new MemoryStream method with name as **ConvertPPTXtoImage** in **PowerPointService** class and include the following code snippet to **convert a PowerPoint to image in Blazor Server app**.
Step 9: Create a new MemoryStream method with name as **ConvertPPTXToImage** in **PowerPointService** class and include the following code snippet to **convert a PowerPoint to image in Blazor Server app**.

{% tabs %}
{% highlight c# tabtitle="C#" %}
Expand Down Expand Up @@ -315,4 +315,4 @@ N> Even though PowerPoint library works in WASM app, it is recommended to use se

Click [here](https://www.syncfusion.com/document-processing/powerpoint-framework/blazor) to explore the rich set of Syncfusion PowerPoint Library (Presentation) features.

An online sample link to [convert PowerPoint Presentation to image](https://blazor.syncfusion.com/demos/powerpoint/pptx-to-image?theme=fluent) in Blazor.
An online sample link to [convert PowerPoint Presentation to image](https://blazor.syncfusion.com/demos/powerpoint/pptx-to-image?theme=fluent) in Blazor.
7 changes: 4 additions & 3 deletions File-Formats/Presentation/Working-with-Charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ documentation: UG
---
# Working with charts using various operations

To quickly start creating a chart in a PowerPoint Presentation using .NET PowerPoint libray, please check out this video:
To quickly start creating a chart in a PowerPoint Presentation using .NET PowerPoint library, please check out this video:
{% youtube "https://www.youtube.com/watch?v=z2yD83HWIrQ" %}

## Creating a Chart from scratch
Expand Down Expand Up @@ -711,7 +711,7 @@ To convert chart in PowerPoint slide as an image, refer the below dependencies i
Platform(s)
</th>
<th width="40%">
NuGets for Chart to Image
NuGet for Chart to Image
</th>
<th width="40%">
Assemblies for Chart to image
Expand Down Expand Up @@ -2093,4 +2093,5 @@ The following Chart types are supported in Presentation.
* Surface_NoColor_Contour

## See Also
* [How to set same number of intervals for Primary and Secondary ValueAxis?](https://support.syncfusion.com/kb/article/11366/how-to-set-same-number-of-intervals-for-primary-and-secondary-valueaxis-in-winforms-presentation)
* [How to set same number of intervals for Primary and Secondary ValueAxis?](https://support.syncfusion.com/kb/article/11366/how-to-set-same-number-of-intervals-for-primary-and-secondary-valueaxis-in-winforms-presentation)
* [How to create a chart and save as an image using ASP.NET Core Presentation library?](https://support.syncfusion.com/kb/article/15499/how-to-create-a-chart-and-save-as-an-image-using-aspnet-core-presentation-library?)
7 changes: 6 additions & 1 deletion File-Formats/Presentation/Working-with-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,4 +467,9 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
* [How to crop an image in a Presentation using C#?](https://support.syncfusion.com/kb/article/15431/how-to-crop-an-image-in-a-presentation-using-c)
* [How to extract the cropped image from Presentation in C#?](https://support.syncfusion.com/kb/article/15451/how-to-extract-the-cropped-image-from-presentation-in-c)
* [How to crop and insert image in Presentation in C#?](https://support.syncfusion.com/kb/article/15432/how-to-crop-and-insert-image-in-presentation-in-c)
* [How to remove the crop from image in Presentation using C#?](https://support.syncfusion.com/kb/article/15435/how-to-remove-the-crop-from-image-in-presentation-using-c)
* [How to remove the crop from image in Presentation using C#?](https://support.syncfusion.com/kb/article/15435/how-to-remove-the-crop-from-image-in-presentation-using-c)
* [How to crop an image in ASP.NET Core Presentation using C#?](https://support.syncfusion.com/kb/article/15431/how-to-crop-an-image-in-aspnet-core-presentation-using-c?)
* [How to crop and insert image in ASP.NET Core Presentation in C#?](https://support.syncfusion.com/kb/article/15432/how-to-crop-and-insert-image-in-aspnet-core-presentation-in-c?)
* [How to extract the cropped image from ASP.NET Core Presentation in C#?](https://support.syncfusion.com/kb/article/15451/how-to-extract-the-cropped-image-from-aspnet-core-presentation-in-c?)
* [How to remove the crop from image in ASP.NET Core Presentation using C#?](https://support.syncfusion.com/kb/article/15435/how-to-remove-the-crop-from-image-in-aspnet-core-presentation-using-c?)
* [How to extract the cropped image from WinForms Presentation in C#?](https://support.syncfusion.com/kb/article/15533/how-to-extract-the-cropped-image-from-winforms-presentation-in-c?)