-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathTextMarkups.xaml.cs
37 lines (36 loc) · 1.14 KB
/
TextMarkups.xaml.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#region Copyright Syncfusion® Inc. 2001-2025.
// Copyright Syncfusion® Inc. 2001-2025. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using syncfusion.demoscommon.wpf;
namespace syncfusion.pdfviewerdemos.wpf
{
/// <summary>
/// Interaction logic for TextMarkups.xaml
/// </summary>
public partial class TextMarkups : DemoControl
{
public TextMarkups()
{
InitializeComponent();
}
public TextMarkups(string themename) : base(themename)
{
InitializeComponent();
}
protected override void Dispose(bool disposing)
{
pdfviewer1.Unload(true);
pdfviewer1 = null;
if (this.DataContext is AnnotationsViewModel)
{
(this.DataContext as AnnotationsViewModel).DocumentStream.Dispose();
this.DataContext = null;
}
base.Dispose(disposing);
}
}
}