Skip to content

Commit c6b500c

Browse files
committed
558682 - feedback addressed
1 parent e91ecda commit c6b500c

9 files changed

+8
-17
lines changed

Annotations/AddStandardStampsinToolBar/AddingStandardStampsInToolBar.csproj renamed to Annotations/AddStandardStampsinToolBar/AddStandardStampsInToolBar.csproj

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<ProjectGuid>{16DB3F24-C63E-4E04-87B0-E2489A46A106}</ProjectGuid>
88
<OutputType>WinExe</OutputType>
9-
<RootNamespace>AddingStandardStampsInToolBar</RootNamespace>
10-
<AssemblyName>AddingStandardStampsInToolBar</AssemblyName>
9+
<RootNamespace>AddStandardStampsInToolBar</RootNamespace>
10+
<AssemblyName>AddStandardStampsInToolBar</AssemblyName>
1111
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
@@ -99,7 +99,6 @@
9999
<None Include="App.config" />
100100
</ItemGroup>
101101
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
102-
<Import Project="packages\Syncfusion.PdfToImageConverter.WPF.29.1.33\build\net462\Syncfusion.PdfToImageConverter.WPF.targets" Condition="Exists('packages\Syncfusion.PdfToImageConverter.WPF.29.1.33\build\net462\Syncfusion.PdfToImageConverter.WPF.targets')" />
103102
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
104103
<PropertyGroup>
105104
</PropertyGroup>

Annotations/AddStandardStampsinToolBar/AddingStandardStampsInToolBar.sln renamed to Annotations/AddStandardStampsinToolBar/AddStandardStampsInToolBar.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.12.35707.178 d17.12
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AddingStandardStampsInToolBar", "AddingStandardStampsInToolBar.csproj", "{16DB3F24-C63E-4E04-87B0-E2489A46A106}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AddStandardStampsInToolBar", "AddStandardStampsInToolBar.csproj", "{16DB3F24-C63E-4E04-87B0-E2489A46A106}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Annotations/AddStandardStampsinToolBar/AddingStandardStampsInToolBar_NET.sln renamed to Annotations/AddStandardStampsinToolBar/AddStandardStampsInToolBar_NET.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.12.35707.178 d17.12
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AddingStandardStampsInToolBar_NET", "AddingStandardStampsInToolBar_NET.csproj", "{14239ED3-0AA6-4B56-93F4-80D7EE3467C5}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AddStandardStampsInToolBar_NET", "AddStandardStampsInToolBar_NET.csproj", "{14239ED3-0AA6-4B56-93F4-80D7EE3467C5}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Annotations/AddStandardStampsinToolBar/App.config

-8
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,4 @@
33
<startup>
44
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
55
</startup>
6-
<runtime>
7-
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
8-
<dependentAssembly>
9-
<assemblyIdentity name="Syncfusion.Compression.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />
10-
<bindingRedirect oldVersion="0.0.0.0-100.2460.1.0" newVersion="100.2460.1.0" />
11-
</dependentAssembly>
12-
</assemblyBinding>
13-
</runtime>
146
</configuration>
Loading
Binary file not shown.
Binary file not shown.

Annotations/AddStandardStampsinToolBar/MainWindow.xaml.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public MainWindow()
2727
this.WindowState = WindowState.Maximized;
2828
//Loads the Document
2929
#if NETFRAMEWORK
30-
pdfViewer.Load("../../Data/PDF_Succinctly.pdf");
30+
pdfViewer.Load("../../Data/F#.pdf");
3131
#else
32-
pdfViewer.Load("../../../Data/PDF_Succinctly.pdf");
32+
pdfViewer.Load("../../../Data/F#.pdf");
3333
#endif
3434
}
3535

@@ -40,9 +40,9 @@ private void addStamp_Click(object sender, RoutedEventArgs e)
4040
//Load the custom image from the local disk.
4141
System.Windows.Controls.Image image = new System.Windows.Controls.Image();
4242
#if NETFRAMEWORK
43-
image.Source = new BitmapImage(new Uri(@"../../Data/CustomStamp.png", UriKind.RelativeOrAbsolute));
43+
image.Source = new BitmapImage(new Uri(@"../../Data/Adventure_Cycle.jpg", UriKind.RelativeOrAbsolute));
4444
#else
45-
image.Source = new BitmapImage(new Uri(@"../../../Data/CustomStamp.png", UriKind.RelativeOrAbsolute));
45+
image.Source = new BitmapImage(new Uri(@"../../../Data/Adventure_Cycle.jpg", UriKind.RelativeOrAbsolute));
4646
#endif
4747
//Create a new standard stamp from the image.
4848
PdfStampAnnotation newStandardStamp = new PdfStampAnnotation(image);

0 commit comments

Comments
 (0)