Skip to content

DOCINFRA-2341_merged_using_automation #1209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
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
4 changes: 3 additions & 1 deletion WindowsForms-toc.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion WindowsForms/Calculation-Engine/Working-with-CalcEngine.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Gets or sets whether the `CalcEngine` throws any exception that occurs during th

### RethrowParseExceptions

The default value of `RethrowParseExceptions` is false.If the value is set as true, CalcEngine throws an exception from [FormulaErrorStrings](https://help.syncfusion.com/windowsforms/calculation-engine/parse-and-compute#error-messages) collection. If the value is set as false, and the parsed formula is not a valid one,it returns error message from [ErrorStrings]((https://help.syncfusion.com/windowsforms/calculation-engine/parse-and-compute#error-messages))collection without throwing exception.
The default value of `RethrowParseExceptions` is false.If the value is set as true, CalcEngine throws an exception from [FormulaErrorStrings](https://help.syncfusion.com/windowsforms/calculation-engine/parse-and-compute#error-messages) collection. If the value is set as false, and the parsed formula is not a valid one,it returns error message from [ErrorStrings](https://help.syncfusion.com/windowsforms/calculation-engine/parse-and-compute#error-messages)collection without throwing exception.

### SupportLogicalOperators

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified WindowsForms/Licensing/licensing-images/generate-license.png
Original file line number Diff line number Diff line change
Expand Up @@ -11,70 +11,52 @@ documentation: ug
To leverage the advanced features offered by the WPF PdfViewer, such as adding annotations, form filling, signatures, stamps, sticky notes, and more, you can [integrate the WPF PdfViewer into the Windows Forms]( https://support.syncfusion.com/kb/article/7882/how-to-host-pdf-viewer-in-windows-forms-application ) and take advantage of its extensive feature sets.

we can host a WPF PdfViewer control within a Windows Forms application using an ElementHost. By embedding the WPF PdfViewer, you can access advanced features available in the WPF control while maintaining a Windows Forms interface.
To host the WPF PdfViewer in the winforms application follow the below steps,

1. Create an UserControl and add the below XAML code to it.
## Steps to host the WPF PdfViewer in the winforms application

* Add the following Syncfusion® namespace in XAML to make use of the WPF [PdfViewerControl](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html)
1. Add an WPF UserControl and install the [Syncfusion.PdfViewer.WPF](https://www.nuget.org/packages/Syncfusion.PdfViewer.WPF) NuGet package to your WinForms application.

2. Add the following Syncfusion® namespace in XAML to make use of the WPF [PdfViewerControl.](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html)

~~~xaml
<UserControl
xmlns:PdfViewerUserControl="clr-namespace:Syncfusion.Windows.PdfViewer;assembly=Syncfusion.PdfViewer.WPF">
</UserControl>
~~~
* Declare the WPF [PdfViewerControl](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html) in the XAML page.

~~~xaml
<UserControl x:Class="SampleWF.PdfViewer"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SampleWF"
xmlns:Syncfusion="http://schemas.syncfusion.com/wpf"
mc:Ignorable="d"
xmlns:PdfView="clr-namespace:Syncfusion.Windows.PdfViewer;assembly=Syncfusion.PdfViewer.WPF"
Loaded="UserControl_Loaded"
>

3. Add the below code in the XAML page to initialize the WPF PdfViewer.

~~~xaml
<Grid>
<PdfView:PdfViewerControl x:Name="pdfViewer"/>
</Grid>
</UserControl>
~~~
* Add the below line of codes in the code behind file.
~~~

4. Load the PDF file into the PdfViewer when the UserControl is loaded in the application

{% tabs %}
{% highlight c# %}

using System.Windows;
using System.Windows.Controls;

namespace SampleWF
{
/// <summary>
/// Interaction logic for PdfViewer.xaml
/// </summary>
public partial class PdfViewerUserControl : UserControl
/// <summary>
/// Interaction logic for PdfViewer.xaml
/// </summary>
public partial class PdfViewerUserControl : UserControl
{
public PdfViewer()
{
public PdfViewer()
{
InitializeComponent();
}
InitializeComponent();
}

private void UserControl_Loaded(object sender, RoutedEventArgs e)
{
pdfViewer.Load(@"../../Data/Windows Store Apps Succinctly.pdf");
}
private void UserControl_Loaded(object sender, RoutedEventArgs e)
{
pdfViewer.Load(@"../../Data/Windows Store Apps Succinctly.pdf");
}
}
}

{%endhighlight%}
{% endtabs %}

2. Create an ElementHost object in the Form and add the created UserControl's object as child to the ElementHost object.

To do the above step follow the below procedures
5. Add a panel to the form. Create an ElementHost object in the Form and add the created UserControl's object as child to the ElementHost object. Add the elementHost as a child to the panel as mentioned below.

{% tabs %}
{% highlight c# %}
Expand Down Expand Up @@ -122,4 +104,4 @@ namespace SampleWF
{%endhighlight%}
{% endtabs %}

You can find the sample for you reference [here](https://www.syncfusion.com/downloads/support/directtrac/general/ze/SampleWF920548313)
You can find the complete sample in the [Github](https://github.com/SyncfusionExamples/WinForms-PDFViewer-Examples/tree/master/How-to/Host-WPFPdfViewer-in-Winforms/HostedPdfViewer) for your reference.
58 changes: 58 additions & 0 deletions WindowsForms/PDF-Viewer/Magnifying-PDF-documents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
layout: post
title: Magnifying PDF documents in WinForms Pdf Viewer control | Syncfusion<sup>&reg;</sup>;
description: Learn about Magnifying PDF documents support in Syncfusion<sup>&reg;</sup>;WinForms Pdf Viewer control, its elements and more.
platform: WinForms
control: PDF Viewer
documentation: ug
---

# Adjust the magnification of PDF documents using the WinForms PDF Viewer

The WinForms PDF Viewer has predefined set of zoom tools in the built-in toolbar, that allows you to change magnifications of the PDF document that is being displayed.

![Zoom tools of WinForms PDF Viewer](images/zoom tools.png)

1. **Combo box**: It allows you to select a zoom percentage from the pre-defined set of values listed in the dropdown. Since it is editable, you can also provide your zoom values by double editing the text area.
2. **Zoom out button**: It allows you to reduce the zoom value by 25% from the current zoom percentage.
3. **Zoom in button**: It allows you to increase the zoom value by 25% from the current zoom percentage.
4. **Fit to width button**: It allows you to fit the document to the width of the control.
5. **Fit to page button**: It allows you to fit a whole page in the window and to view only one page at a time.

### Magnify the document to a given zoom percentage

You can magnify the document to a given zoom percentage by using the [ZoomTo](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_ZoomTo_System_Int32_) function of the PDF Viewer. Refer to the following code sample to apply the specific zoom percentage based on the page contents.

{% tabs %}
{% highlight c# %}
//Zoom to 235 percentage.
pdfViewer.ZoomTo(235);
{% endhighlight %}
{% endtabs %}

The [ZoomPercentage](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_ZoomPercentage) property can be used to get the control's current zoom percentage.

{% tabs %}
{% highlight c# %}
//Get the current zoom percentage.
int currentZoomPercentage = pdfViewer.ZoomPercentage;
{% endhighlight %}
{% endtabs %}

## Zoom modes

As stated above, the PDF Viewer supports the fit to page and fit to width zoom modes. You can change the zoom mode, using the [ZoomMode](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_ZoomMode) property of the PDF Viewer. Refer to the following code sample to change the zoom mode.

{% tabs %}
{% highlight c# %}
//To apply fit-to-page zoom mode.
pdfViewer.ZoomMode = ZoomMode.FitPage;
// To apply fit-to-width zoom mode.
pdfViewer.ZoomMode = ZoomMode.FitWidth;
{% endhighlight %}
{% endtabs %}

## Mouse and keyboard shortcuts

**Ctrl (key) + Scroll the mouse wheel up** - To perform zoom in.
**Ctrl (key) + Scroll the mouse wheel down** - To perform zoom out.
35 changes: 35 additions & 0 deletions WindowsForms/PDF-Viewer/Working with ErrorOccured Event.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
layout: post
title: Working with ErrorOccured Event in Windows Forms PDF Viewer | Syncfusion&reg;
description: Learn about Working with ErrorOccured Event in Syncfusion&reg; Windows Forms PDF Viewer (PdfViewerControl) control and more details.
platform: windowsforms
control: PdfViewerControl
documentation: ug
---

# Working with ErrorOccured Event in Windows Forms PDF Viewer (PdfViewerControl)

PDF Viewer provides support to identify the error using the ErrorOccured Event,The ErrorOccurred[
https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_Forms_PdfViewer_PdfViewerControl_ErrorOccurred
] event in the PdfViewerControl is triggered whenever an error occurs within the control. This event provides an opportunity to handle errors effectively by allowing developers to log the details or display appropriate messages to users when an issue arises within the PdfViewerControl[https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl.html].

{% tabs %}
{% highlight c# %}

public Form1()
{
InitializeComponent();
PdfViewer.ErrorOccurred += PdfViewer_ErrorOccurred;
}

private void PdfViewer_ErrorOccurred(object sender, ErrorOccurredEventArgs e)
{
// Log error message
Console.WriteLine("Error occurred in PdfViewerControl: " + e.Message);

// Display error message to the user
MessageBox.Show("An error occurred while viewing the PDF: " + e.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}

{% endhighlight %}
{% endtabs %}
Binary file added WindowsForms/PDF-Viewer/images/zoom tools.png
16 changes: 16 additions & 0 deletions WindowsForms/Release-notes/v29.1.38.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Essential Studio for Windows Forms Weekly Nuget Release Release Notes
description: Essential Studio for Windows Forms Weekly Nuget Release Release Notes
platform: windowsforms
documentation: ug
---

# Essential Studio for Windows Forms Release Notes

{% include release-info.html date="April 15, 2025" version="v29.1.38" %}

{% directory path: _includes/release-notes/v29.1.38 %}

{% include {{file.url}} %}

{% enddirectory %}
16 changes: 16 additions & 0 deletions WindowsForms/Release-notes/v29.1.39.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Essential Studio for Windows Forms Weekly Nuget Release Release Notes
description: Essential Studio for Windows Forms Weekly Nuget Release Release Notes
platform: windowsforms
documentation: ug
---

# Essential Studio for Windows Forms Release Notes

{% include release-info.html date="April 22, 2025" version="v29.1.39" %}

{% directory path: _includes/release-notes/v29.1.39 %}

{% include {{file.url}} %}

{% enddirectory %}
16 changes: 16 additions & 0 deletions WindowsForms/Release-notes/v29.1.40.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Essential Studio for Windows Forms Weekly Nuget Release Release Notes
description: Essential Studio for Windows Forms Weekly Nuget Release Release Notes
platform: windowsforms
documentation: ug
---

# Essential Studio for Windows Forms Release Notes

{% include release-info.html date="May 01, 2025" version="v29.1.40" %}

{% directory path: _includes/release-notes/v29.1.40 %}

{% include {{file.url}} %}

{% enddirectory %}
78 changes: 78 additions & 0 deletions WindowsForms/Release-notes/v29.1.41.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
title: Essential Studio for Windows Forms Weekly Nuget Release Release Notes
description: Essential Studio for Windows Forms Weekly Nuget Release Release Notes
platform: windowsforms
documentation: ug
---

# Essential Studio for Windows Forms Release Notes

{% include release-info.html date="May 06, 2025" version="v29.1.41" passed="101397" failed="0" %}

{% directory path: _includes/release-notes/v29.1.41 %}

{% include {{file.url}} %}

{% enddirectory %}

## Test Results

| Component Name | Test Cases | Passed | Failed | Remarks |
|---------------|------------|--------|--------|---------|
| Autocomplete | 56 | 56 | 0 | All Passed |
| ButtonAdv | 2 | 2 | 0 | All Passed |
| Calculate | 131 | 131 | 0 | All Passed |
| CheckBoxAdv | 108 | 108 | 0 | All Passed |
| ColorPickerUIAdv | 1 | 1 | 0 | All Passed |
| ComboBoxAdv | 167 | 167 | 0 | All Passed |
| CommandBarController | 1 | 1 | 0 | All Passed |
| CurrencyEdit | 1 | 1 | 0 | All Passed |
| DateTimePickerAdv | 7 | 7 | 0 | All Passed |
| DigitalGauge | 1 | 1 | 0 | All Passed |
| DockingManager | 560 | 560 | 0 | All Passed |
| DomainUpDownExt | 3 | 3 | 0 | All Passed |
| EditControl | 66 | 66 | 0 | All Passed |
| FontListBox | 2 | 2 | 0 | All Passed |
| GradientPanelExt | 1 | 1 | 0 | All Passed |
| GroupBar | 33 | 33 | 0 | All Passed |
| GroupView | 2 | 2 | 0 | All Passed |
| ImageStreamer | 1 | 1 | 0 | All Passed |
| InputControls | 12 | 12 | 0 | All Passed |
| LinearGauge | 55 | 55 | 0 | All Passed |
| MainFrameBarManager | 3 | 3 | 0 | All Passed |
| MenuPackage | 68 | 68 | 0 | All Passed |
| MetroForm | 24 | 24 | 0 | All Passed |
| MultiColumnTreeview | 16 | 16 | 0 | All Passed |
| NavigationDrawer | 14 | 14 | 0 | All Passed |
| NavigationView | 0 | 0 | 0 | All Passed |
| PercentTextBox | 1 | 1 | 0 | All Passed |
| PopupMenu | 4 | 4 | 0 | All Passed |
| ProgressBarAdv | 3 | 3 | 0 | All Passed |
| RadialGauge | 85 | 85 | 0 | All Passed |
| RadialMenu | 2 | 2 | 0 | All Passed |
| RadialSlider | 12 | 12 | 0 | All Passed |
| RatingControl | 1 | 1 | 0 | All Passed |
| RibbonControlAdv | 26 | 26 | 0 | All Passed |
| SfButton | 4 | 4 | 0 | All Passed |
| SfComboBox | 30 | 30 | 0 | All Passed |
| SfDataGrid | 806 | 806 | 0 | All Passed |
| SfDataPager | 95 | 95 | 0 | All Passed |
| SfDateTimeEdit | 11 | 11 | 0 | All Passed |
| SfForm | 23 | 23 | 0 | All Passed |
| SfListView | 63 | 63 | 0 | All Passed |
| SfScrollFrame | 1 | 1 | 0 | All Passed |
| SfTabbedForm | 25 | 25 | 0 | All Passed |
| SpellCheckerAdv | 38 | 38 | 0 | All Passed |
| SplashPanel | 2 | 2 | 0 | All Passed |
| SplitContainerAdv | 10 | 10 | 0 | All Passed |
| StatusStripEx | 4 | 4 | 0 | All Passed |
| SuperToolTip | 2 | 2 | 0 | All Passed |
| TabbedMdiManager | 8 | 8 | 0 | All Passed |
| TabControlAdv | 219 | 219 | 0 | All Passed |
| TrackBarEx | 1 | 1 | 0 | All Passed |
| TreeNavigator | 16 | 16 | 0 | All Passed |
| TreeViewAdv | 33 | 33 | 0 | All Passed |
| DocIO | 15376 | 15376 | 0 | All Passed |
| PDF | 11853 | 11853 | 0 | All Passed |
| Presentation | 54238 | 54238 | 0 | All Passed |
| XlsIO | 17070 | 17070 | 0 | All Passed |