Skip to content

Commit 5ca5cab

Browse files
905578
1 parent 448f18a commit 5ca5cab

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

wpf/Pdf-Viewer/Saving-the-PDF-document.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -82,24 +82,24 @@ The [BeginSave](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.
8282
{% tabs %}
8383
{% highlight c# %}
8484

85-
public MainWindow()
86-
{
87-
InitializeComponent();
88-
//Wire the `BeginSave` event.
89-
PdfViewer.BeginSave += PdfViewer_BeginSave;
90-
//Load the PDF file
91-
PdfViewer.Load("../../Data/Windows Store Apps Succinctly.pdf");
92-
}
85+
public MainWindow()
86+
{
87+
InitializeComponent();
88+
//Wire the `BeginSave` event.
89+
PdfViewer.BeginSave += PdfViewer_BeginSave;
90+
//Load the PDF file
91+
PdfViewer.Load("../../Data/Windows Store Apps Succinctly.pdf");
92+
}
9393

94-
#region Events
95-
private void PdfViewer_BeginSave(object sender, BeginSaveEventArgs e)
96-
{
97-
//Insert your code here
94+
#region Events
95+
private void PdfViewer_BeginSave(object sender, BeginSaveEventArgs e)
96+
{
97+
//Insert your code here
9898

99-
//Cancel the save operation
100-
e.Cancel = true;
101-
}
102-
#endregion
99+
//Cancel the save operation
100+
e.Cancel = true;
101+
}
102+
#endregion
103103

104104
{% endhighlight %}
105105
{% endtabs %}

0 commit comments

Comments
 (0)