Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 11 additions & 11 deletions ASP.NET MVC/HTML_to_PDF_MVC/HTML_to_PDF_MVC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.13.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Syncfusion.Compression.Base, Version=20.3450.0.58, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Pdf.AspNet.Mvc5.20.3.0.58\lib\net45\Syncfusion.Compression.Base.dll</HintPath>
<Reference Include="Syncfusion.Compression.Base, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Pdf.AspNet.Mvc5.33.2.10\lib\net462\Syncfusion.Compression.Base.dll</HintPath>
</Reference>
<Reference Include="Syncfusion.HtmlConverter.Base, Version=20.3450.0.58, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.20.3.0.58\lib\net45\Syncfusion.HtmlConverter.Base.dll</HintPath>
<Reference Include="Syncfusion.HtmlConverter.Base, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.33.2.10\lib\net462\Syncfusion.HtmlConverter.Base.dll</HintPath>
</Reference>
<Reference Include="Syncfusion.Licensing, Version=20.3450.0.58, Culture=neutral, PublicKeyToken=632609b4d040f6b4, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Pdf.AspNet.Mvc5.20.3.0.58\lib\net45\Syncfusion.Licensing.dll</HintPath>
<Reference Include="Syncfusion.Licensing, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=632609b4d040f6b4, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Pdf.AspNet.Mvc5.33.2.10\lib\net462\Syncfusion.Licensing.dll</HintPath>
</Reference>
<Reference Include="Syncfusion.Pdf.Base, Version=20.3450.0.58, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Pdf.AspNet.Mvc5.20.3.0.58\lib\net45\Syncfusion.Pdf.Base.dll</HintPath>
<Reference Include="Syncfusion.Pdf.Base, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Pdf.AspNet.Mvc5.33.2.10\lib\net462\Syncfusion.Pdf.Base.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
Expand Down Expand Up @@ -229,13 +229,13 @@
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
<Error Condition="!Exists('..\packages\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.20.3.0.58\build\net45\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.20.3.0.58\build\net45\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.targets'))" />
<Error Condition="!Exists('..\packages\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.targets'))" />
</Target>
<Import Project="..\packages\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.20.3.0.58\build\net45\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.targets" Condition="Exists('..\packages\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.20.3.0.58\build\net45\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target> -->
<Import Project="..\packages\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.targets" Condition="Exists('..\packages\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.AspNet.Mvc5.targets')" />
</Project>
4 changes: 2 additions & 2 deletions ASP.NET MVC/HTML_to_PDF_MVC/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</compilation>
<httpRuntime targetFramework="4.7.2" />
<httpHandlers>
<add verb="*" path="captimage.axd" type="Syncfusion.JavaScript.ImageHandler, Syncfusion.EJ, Version=20.3450.0.58, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
<add verb="*" path="captimage.axd" type="Syncfusion.JavaScript.ImageHandler, Syncfusion.EJ, Version=33.24620.10, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
</httpHandlers>
<pages>
<namespaces>
Expand Down Expand Up @@ -70,7 +70,7 @@
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true" />
<handlers>
<add verb="*" path="captimage.axd" name="syncfusion_generatetools" type="Syncfusion.JavaScript.ImageHandler, Syncfusion.EJ, Version=20.3450.0.58, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
<add verb="*" path="captimage.axd" name="syncfusion_generatetools" type="Syncfusion.JavaScript.ImageHandler, Syncfusion.EJ, Version=33.24620.10, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
</handlers>
</system.webServer>
</configuration>
6 changes: 3 additions & 3 deletions ASP.NET MVC/HTML_to_PDF_MVC/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<package id="Microsoft.jQuery.Unobtrusive.Validation" version="4.0.0" targetFramework="net472" />
<package id="Microsoft.Web.Infrastructure" version="2.0.1" targetFramework="net472" />
<package id="Modernizr" version="2.8.3" targetFramework="net472" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
<package id="Newtonsoft.Json" version="13.0.4" targetFramework="net462" />
<package id="Syncfusion.Compression.Base" version="20.3.0.58" targetFramework="net472" />
<package id="Syncfusion.HtmlToPdfConverter.AspNet.Mvc5" version="20.3.0.58" targetFramework="net472" />
<package id="Syncfusion.Pdf.AspNet.Mvc5" version="20.3.0.58" targetFramework="net472" />
<package id="Syncfusion.HtmlToPdfConverter.AspNet.Mvc5" version="33.2.10" targetFramework="net462" />
<package id="Syncfusion.Pdf.AspNet.Mvc5" version="33.2.10" targetFramework="net462" />
<package id="WebGrease" version="1.6.0" targetFramework="net472" />
</packages>
25 changes: 14 additions & 11 deletions WPF/HTML_to_PDF_WPF/HTML_to_PDF_WPF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,22 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.13.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Syncfusion.Compression.Base, Version=20.3460.0.58, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Compression.Base.20.3.0.58\lib\net46\Syncfusion.Compression.Base.dll</HintPath>
<Reference Include="Syncfusion.Compression.Base, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Compression.Base.33.2.10\lib\net462\Syncfusion.Compression.Base.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Syncfusion.HtmlConverter.Base, Version=20.3460.0.58, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.HtmlToPdfConverter.WPF.20.3.0.58\lib\net46\Syncfusion.HtmlConverter.Base.dll</HintPath>
<Reference Include="Syncfusion.HtmlConverter.Base, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.HtmlToPdfConverter.WPF.33.2.10\lib\net462\Syncfusion.HtmlConverter.Base.dll</HintPath>
</Reference>
<Reference Include="Syncfusion.Licensing, Version=20.3460.0.58, Culture=neutral, PublicKeyToken=632609b4d040f6b4, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Licensing.20.3.0.58\lib\net46\Syncfusion.Licensing.dll</HintPath>
<Reference Include="Syncfusion.Licensing, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=632609b4d040f6b4, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Licensing.33.2.10\lib\net462\Syncfusion.Licensing.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Syncfusion.Pdf.Base, Version=20.3460.0.58, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Pdf.Wpf.20.3.0.58\lib\net46\Syncfusion.Pdf.Base.dll</HintPath>
<Reference Include="Syncfusion.Pdf.Base, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Pdf.Wpf.33.2.10\lib\net462\Syncfusion.Pdf.Base.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
Expand Down Expand Up @@ -114,11 +117,11 @@
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\Syncfusion.HtmlToPdfConverter.WPF.20.3.0.58\build\net46\Syncfusion.HtmlToPdfConverter.WPF.targets" Condition="Exists('..\packages\Syncfusion.HtmlToPdfConverter.WPF.20.3.0.58\build\net46\Syncfusion.HtmlToPdfConverter.WPF.targets')" />
<Import Project="..\packages\Syncfusion.HtmlToPdfConverter.WPF.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.WPF.targets" Condition="Exists('..\packages\Syncfusion.HtmlToPdfConverter.WPF.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.WPF.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Syncfusion.HtmlToPdfConverter.WPF.20.3.0.58\build\net46\Syncfusion.HtmlToPdfConverter.WPF.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Syncfusion.HtmlToPdfConverter.WPF.20.3.0.58\build\net46\Syncfusion.HtmlToPdfConverter.WPF.targets'))" />
<Error Condition="!Exists('..\packages\Syncfusion.HtmlToPdfConverter.WPF.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.WPF.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Syncfusion.HtmlToPdfConverter.WPF.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.WPF.targets'))" />
</Target>
</Project>
10 changes: 5 additions & 5 deletions WPF/HTML_to_PDF_WPF/packages.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
<package id="Syncfusion.Compression.Base" version="20.3.0.58" targetFramework="net472" />
<package id="Syncfusion.HtmlToPdfConverter.WPF" version="20.3.0.58" targetFramework="net472" />
<package id="Syncfusion.Licensing" version="20.3.0.58" targetFramework="net472" />
<package id="Syncfusion.Pdf.Wpf" version="20.3.0.58" targetFramework="net472" />
<package id="Newtonsoft.Json" version="13.0.4" targetFramework="net462" />
<package id="Syncfusion.Compression.Base" version="33.2.10" targetFramework="net462" />
<package id="Syncfusion.HtmlToPdfConverter.WPF" version="33.2.10" targetFramework="net462" />
<package id="Syncfusion.Licensing" version="33.2.10" targetFramework="net462" />
<package id="Syncfusion.Pdf.Wpf" version="33.2.10" targetFramework="net462" />
</packages>
2 changes: 1 addition & 1 deletion Windows Forms/HTML_to_PDF_WF/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private void button1_Click(object sender, EventArgs e)
PdfDocument document = htmlConverter.Convert("https://www.syncfusion.com");

//Create file stream
FileStream stream = new FileStream("HTML-to-PDF.pdf", FileMode.CreateNew);
FileStream stream = new FileStream("HTML-to-PDF.pdf", FileMode.Create, FileAccess.Write);

//Save the document into stream
document.Save(stream);
Expand Down
25 changes: 14 additions & 11 deletions Windows Forms/HTML_to_PDF_WF/HTML_to_PDF_WF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,22 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.13.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Syncfusion.Compression.Base, Version=20.3460.0.58, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Compression.Base.20.3.0.58\lib\net46\Syncfusion.Compression.Base.dll</HintPath>
<Reference Include="Syncfusion.Compression.Base, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Compression.Base.33.2.10\lib\net462\Syncfusion.Compression.Base.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Syncfusion.HtmlConverter.Base, Version=20.3460.0.58, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.HtmlToPdfConverter.WinForms.20.3.0.58\lib\net46\Syncfusion.HtmlConverter.Base.dll</HintPath>
<Reference Include="Syncfusion.HtmlConverter.Base, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.HtmlToPdfConverter.WinForms.33.2.10\lib\net462\Syncfusion.HtmlConverter.Base.dll</HintPath>
</Reference>
<Reference Include="Syncfusion.Licensing, Version=20.3460.0.58, Culture=neutral, PublicKeyToken=632609b4d040f6b4, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Licensing.20.3.0.58\lib\net46\Syncfusion.Licensing.dll</HintPath>
<Reference Include="Syncfusion.Licensing, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=632609b4d040f6b4, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Licensing.33.2.10\lib\net462\Syncfusion.Licensing.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Syncfusion.Pdf.Base, Version=20.3460.0.58, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Pdf.WinForms.20.3.0.58\lib\net46\Syncfusion.Pdf.Base.dll</HintPath>
<Reference Include="Syncfusion.Pdf.Base, Version=33.2462.10.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
<HintPath>..\packages\Syncfusion.Pdf.WinForms.33.2.10\lib\net462\Syncfusion.Pdf.Base.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down Expand Up @@ -98,11 +101,11 @@
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\Syncfusion.HtmlToPdfConverter.WinForms.20.3.0.58\build\net46\Syncfusion.HtmlToPdfConverter.WinForms.targets" Condition="Exists('..\packages\Syncfusion.HtmlToPdfConverter.WinForms.20.3.0.58\build\net46\Syncfusion.HtmlToPdfConverter.WinForms.targets')" />
<Import Project="..\packages\Syncfusion.HtmlToPdfConverter.WinForms.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.WinForms.targets" Condition="Exists('..\packages\Syncfusion.HtmlToPdfConverter.WinForms.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.WinForms.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Syncfusion.HtmlToPdfConverter.WinForms.20.3.0.58\build\net46\Syncfusion.HtmlToPdfConverter.WinForms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Syncfusion.HtmlToPdfConverter.WinForms.20.3.0.58\build\net46\Syncfusion.HtmlToPdfConverter.WinForms.targets'))" />
<Error Condition="!Exists('..\packages\Syncfusion.HtmlToPdfConverter.WinForms.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.WinForms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Syncfusion.HtmlToPdfConverter.WinForms.33.2.10\build\net462\Syncfusion.HtmlToPdfConverter.WinForms.targets'))" />
</Target>
</Project>
10 changes: 5 additions & 5 deletions Windows Forms/HTML_to_PDF_WF/packages.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
<package id="Syncfusion.Compression.Base" version="20.3.0.58" targetFramework="net472" />
<package id="Syncfusion.HtmlToPdfConverter.WinForms" version="20.3.0.58" targetFramework="net472" />
<package id="Syncfusion.Licensing" version="20.3.0.58" targetFramework="net472" />
<package id="Syncfusion.Pdf.WinForms" version="20.3.0.58" targetFramework="net472" />
<package id="Newtonsoft.Json" version="13.0.4" targetFramework="net462" />
<package id="Syncfusion.Compression.Base" version="33.2.10" targetFramework="net462" />
<package id="Syncfusion.HtmlToPdfConverter.WinForms" version="33.2.10" targetFramework="net462" />
<package id="Syncfusion.Licensing" version="33.2.10" targetFramework="net462" />
<package id="Syncfusion.Pdf.WinForms" version="33.2.10" targetFramework="net462" />
</packages>
Loading