Skip to content

Commit ce4cddc

Browse files
905578
1 parent 5ca5cab commit ce4cddc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,20 +84,20 @@ The [BeginSave](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.
8484

8585
public MainWindow()
8686
{
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");
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");
9292
}
93-
93+
9494
#region Events
9595
private void PdfViewer_BeginSave(object sender, BeginSaveEventArgs e)
9696
{
97-
//Insert your code here
97+
// Insert your code here
9898

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

0 commit comments

Comments
 (0)