Browse Source

compdfkit(win) - samples header footer

liuaoran 1 year ago
parent
commit
9c4e44ddf8
33 changed files with 869 additions and 27 deletions
  1. 6 6
      Demo/Examples/Compdfkit_Tools/Properties/AssemblyInfo.cs
  2. 17 6
      Demo/Examples/Examlpes.sln
  3. 6 0
      Demo/Examples/HeaderFooterTest/App.config
  4. 53 0
      Demo/Examples/HeaderFooterTest/HeaderFooterTest.csproj
  5. 15 0
      Demo/Examples/HeaderFooterTest/Program.cs
  6. 36 0
      Demo/Examples/HeaderFooterTest/Properties/AssemblyInfo.cs
  7. 6 6
      Demo/Examples/PDFViewer/Properties/AssemblyInfo.cs
  8. 6 0
      Demo/Examples/Samples/BatesTest/App.config
  9. 56 0
      Demo/Examples/Samples/BatesTest/BatesTest.cs
  10. 78 0
      Demo/Examples/Samples/BatesTest/BatesTest.csproj
  11. 45 0
      Demo/Examples/Samples/BatesTest/Blank Page.pdf
  12. 37 0
      Demo/Examples/Samples/BatesTest/LicenseKey.cs
  13. 36 0
      Demo/Examples/Samples/BatesTest/Properties/AssemblyInfo.cs
  14. 4 0
      Demo/Examples/Samples/BatesTest/license_key_win.xml
  15. 4 0
      Demo/Examples/Samples/BatesTest/packages.config
  16. 6 0
      Demo/Examples/Samples/HeaderFooterTest/App.config
  17. 45 0
      Demo/Examples/Samples/HeaderFooterTest/Blank Page.pdf
  18. 206 0
      Demo/Examples/Samples/HeaderFooterTest/HeaderFooterTest.cs
  19. 78 0
      Demo/Examples/Samples/HeaderFooterTest/HeaderFooterTest.csproj
  20. 36 0
      Demo/Examples/Samples/HeaderFooterTest/Properties/AssemblyInfo.cs
  21. 4 0
      Demo/Examples/Samples/HeaderFooterTest/packages.config
  22. 37 0
      Demo/Examples/Samples/LicenseKey.cs
  23. BIN
      Demo/Examples/Samples/Output/Bates/Blank Page_AddBates.pdf
  24. BIN
      Demo/Examples/Samples/Output/HeaderFooter/Blank Page_AddCommonHeaderFooter.pdf
  25. BIN
      Demo/Examples/Samples/Output/HeaderFooter/Blank Page_AddHeaderFooter.pdf
  26. BIN
      Demo/Examples/Samples/Output/HeaderFooter/Blank Page_AddPageHeaderFooter.pdf
  27. BIN
      Demo/Examples/Samples/Output/HeaderFooter/Blank Page_DeleteHeaderFooter.pdf
  28. BIN
      Demo/Examples/Samples/Output/HeaderFooter/Blank Page_EditHeaderFooter.pdf
  29. 45 0
      Demo/Examples/TestFile/Blank Page.pdf
  30. BIN
      Demo/Examples/TestFile/Form_Widgets_Test.pdf
  31. 0 2
      Demo/Examples/Viewer/App.xaml.cs
  32. 5 5
      Demo/Examples/Viewer/Properties/AssemblyInfo.cs
  33. 2 2
      Demo/Examples/license_key_win.xml

+ 6 - 6
Demo/Examples/Compdfkit_Tools/Properties/AssemblyInfo.cs

@@ -7,12 +7,12 @@ using System.Windows;
 // General Information about an assembly is controlled through the following
 // set of attributes. Change these attribute values to modify the information
 // associated with an assembly.
-[assembly: AssemblyTitle("compdfkit-tools")]
+[assembly: AssemblyTitle("ComPDFKit_Tools")]
 [assembly: AssemblyDescription("")]
 [assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("HP Inc.")]
-[assembly: AssemblyProduct("compdfkit-tools")]
-[assembly: AssemblyCopyright("Copyright © HP Inc. 2023")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("ComPDFKit_Tools")]
+[assembly: AssemblyCopyright("Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]
 
@@ -51,5 +51,5 @@ using System.Windows;
 // You can specify all the values or you can default the Build and Revision Numbers
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("1.9.0.0")]
+[assembly: AssemblyFileVersion("1.9.0.0")]

+ 17 - 6
Demo/Examples/Examlpes.sln

@@ -22,12 +22,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Compdfkit_Tools", "Compdfki
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PDFViewer", "PDFViewer\PDFViewer.csproj", "{807EE747-34A1-4E03-8B72-9E9F6C3BB002}"
 EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TestFile", "TestFile", "{0491A2B9-2C94-4D4F-9A7B-3B2B41631A28}"
-	ProjectSection(SolutionItems) = preProject
-		TestFile\developer_guide_windows.pdf = TestFile\developer_guide_windows.pdf
-		TestFile\Form_Widgets_Test.pdf = TestFile\Form_Widgets_Test.pdf
-		TestFile\PDF32000_2008.pdf = TestFile\PDF32000_2008.pdf
-	EndProjectSection
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{812D8275-2791-4CEF-A4E8-39A78E49D8FB}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeaderFooterTest", "Samples\HeaderFooterTest\HeaderFooterTest.csproj", "{5AF53BD9-A085-4550-8F78-98CCFFFDCDA9}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BatesTest", "Samples\BatesTest\BatesTest.csproj", "{5CE5B624-B2B8-479C-8842-B70591B01124}"
 EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -63,10 +62,22 @@ Global
 		{807EE747-34A1-4E03-8B72-9E9F6C3BB002}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{807EE747-34A1-4E03-8B72-9E9F6C3BB002}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{807EE747-34A1-4E03-8B72-9E9F6C3BB002}.Release|Any CPU.Build.0 = Release|Any CPU
+		{5AF53BD9-A085-4550-8F78-98CCFFFDCDA9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{5AF53BD9-A085-4550-8F78-98CCFFFDCDA9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{5AF53BD9-A085-4550-8F78-98CCFFFDCDA9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{5AF53BD9-A085-4550-8F78-98CCFFFDCDA9}.Release|Any CPU.Build.0 = Release|Any CPU
+		{5CE5B624-B2B8-479C-8842-B70591B01124}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{5CE5B624-B2B8-479C-8842-B70591B01124}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{5CE5B624-B2B8-479C-8842-B70591B01124}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{5CE5B624-B2B8-479C-8842-B70591B01124}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
 	EndGlobalSection
+	GlobalSection(NestedProjects) = preSolution
+		{5AF53BD9-A085-4550-8F78-98CCFFFDCDA9} = {812D8275-2791-4CEF-A4E8-39A78E49D8FB}
+		{5CE5B624-B2B8-479C-8842-B70591B01124} = {812D8275-2791-4CEF-A4E8-39A78E49D8FB}
+	EndGlobalSection
 	GlobalSection(ExtensibilityGlobals) = postSolution
 		SolutionGuid = {8EE774F1-5FBF-482A-9A31-5ABDEC216DEF}
 	EndGlobalSection

+ 6 - 0
Demo/Examples/HeaderFooterTest/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
+    </startup>
+</configuration>

+ 53 - 0
Demo/Examples/HeaderFooterTest/HeaderFooterTest.csproj

@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{B8D17EB7-A582-4107-889F-1D78D23D41AF}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <RootNamespace>HeaderFooterTest</RootNamespace>
+    <AssemblyName>HeaderFooterTest</AssemblyName>
+    <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+    <Deterministic>true</Deterministic>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>

+ 15 - 0
Demo/Examples/HeaderFooterTest/Program.cs

@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace HeaderFooterTest
+{
+    internal class Program
+    {
+        static void Main(string[] args)
+        {
+        }
+    }
+}

+ 36 - 0
Demo/Examples/HeaderFooterTest/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("HeaderFooterTest")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("HeaderFooterTest")]
+[assembly: AssemblyCopyright("Copyright ©  2023")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components.  If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("b8d17eb7-a582-4107-889f-1d78d23d41af")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 6 - 6
Demo/Examples/PDFViewer/Properties/AssemblyInfo.cs

@@ -7,12 +7,12 @@ using System.Windows;
 // General Information about an assembly is controlled through the following
 // set of attributes. Change these attribute values to modify the information
 // associated with an assembly.
-[assembly: AssemblyTitle("compdfkit")]
+[assembly: AssemblyTitle("ComPDFKit")]
 [assembly: AssemblyDescription("")]
 [assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("HP Inc.")]
-[assembly: AssemblyProduct("compdfkit")]
-[assembly: AssemblyCopyright("Copyright © HP Inc. 2023")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("ComPDFKit")]
+[assembly: AssemblyCopyright("Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]
 
@@ -51,5 +51,5 @@ using System.Windows;
 // You can specify all the values or you can default the Build and Revision Numbers
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("1.9.0.0")]
+[assembly: AssemblyFileVersion("1.9.0.0")]

+ 6 - 0
Demo/Examples/Samples/BatesTest/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
+    </startup>
+</configuration>

+ 56 - 0
Demo/Examples/Samples/BatesTest/BatesTest.cs

@@ -0,0 +1,56 @@
+using ComPDFKit.PDFDocument;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BatesTest
+{
+    internal class BatesTest
+    {
+        private static string outputPath = Path.GetDirectoryName(Path.GetDirectoryName(Path.GetDirectoryName(System.IO.Directory.GetCurrentDirectory()))) + "\\Output\\Bates";
+
+        static void Main(string[] args)
+        {
+            SDKLicenseHelper.LicenseVerify();
+
+            CPDFDocument document = CPDFDocument.InitWithFilePath("Blank Page.pdf");
+
+            if (!Directory.Exists(outputPath))
+            {
+                Directory.CreateDirectory(outputPath);
+            }
+
+            AddBates(document); 
+
+            Console.ReadLine();
+        }
+
+        private static void AddBates(CPDFDocument document)
+        {
+            string addBatesPath = outputPath + "\\Blank Page_AddBates.pdf";
+
+
+            CPDFBates bates = document.GetBates();
+            bates.SetText(4, @"<<#3#5#Prefix-#-Suffix>>");
+            byte[] color = { 255, 0, 0 };
+            bates.SetTextColor(4, color);
+            bates.SetFontSize(4, 14);
+            bates.SetPages("0-" + (document.PageCount - 1));
+            bates.Update();
+
+            if (document.WriteToFilePath(addBatesPath))
+            {
+                Console.WriteLine("Browse the changed file in " + addBatesPath);
+                Console.WriteLine("********** Add Bates succeeded **********");
+                return;
+            }
+            else
+            {
+                Console.WriteLine("********** Add Bates failed **********");
+            }
+        }
+    }
+}

+ 78 - 0
Demo/Examples/Samples/BatesTest/BatesTest.csproj

@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{5CE5B624-B2B8-479C-8842-B70591B01124}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <RootNamespace>BatesTest</RootNamespace>
+    <AssemblyName>Viewer_ComPDFKit</AssemblyName>
+    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+    <Deterministic>true</Deterministic>
+    <NuGetPackageImportStamp>
+    </NuGetPackageImportStamp>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="ComPDFKit.Desk, Version=1.8.1.0, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.0\lib\ComPDFKit.Desk.dll</HintPath>
+    </Reference>
+    <Reference Include="ComPDFKit.Viewer, Version=1.8.1.0, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.0\lib\ComPDFKit.Viewer.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="..\LicenseKey.cs" />
+    <Compile Include="BatesTest.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+    <None Include="..\..\TestFile\Blank Page.pdf">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </None>
+    <None Include="packages.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="..\..\license_key_win.xml">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </None>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <Import Project="..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets" Condition="Exists('..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.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\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets'))" />
+  </Target>
+</Project>

+ 45 - 0
Demo/Examples/Samples/BatesTest/Blank Page.pdf

@@ -0,0 +1,45 @@
+%PDF-1.7
+%¡³Å×
+1 0 obj
+<</Pages 2 0 R /Type/Catalog>>
+endobj
+2 0 obj
+<</Count 5/Kids[ 4 0 R  5 0 R  8 0 R  7 0 R  6 0 R ]/Type/Pages>>
+endobj
+3 0 obj
+<</CreationDate(D:20230704151320)>>
+endobj
+4 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+5 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+6 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+7 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+8 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+xref
+0 9
+0000000000 65535 f
+0000000017 00000 n
+0000000066 00000 n
+0000000150 00000 n
+0000000204 00000 n
+0000000297 00000 n
+0000000390 00000 n
+0000000483 00000 n
+0000000576 00000 n
+trailer
+<<
+/Root 1 0 R
+/Info 3 0 R
+/Size 9/ID[<7800A4991AF561A4D70D3004F5E43166><7800A4991AF561A4D70D3004F5E43166>]>>
+startxref
+669
+%%EOF

+ 37 - 0
Demo/Examples/Samples/BatesTest/LicenseKey.cs

@@ -0,0 +1,37 @@
+using ComPDFKit.NativeMethod;
+using System.Xml;
+
+public class SDKLicenseHelper
+{
+    public string key = string.Empty;
+    public string secret = string.Empty;
+
+    public SDKLicenseHelper()
+    {
+        string sdkLicensePath = "license_key_win.xml";
+        XmlDocument xmlDocument = new XmlDocument();
+        xmlDocument.Load(sdkLicensePath);
+        var node = xmlDocument.SelectSingleNode("License");
+        if (node != null)
+        {
+            key = node.Attributes["key"].Value;
+            secret = node.Attributes["secret"].Value;
+        }
+    }
+
+    public static bool LicenseVerify()
+    {
+        bool result = false;
+
+        result = CPDFSDKVerifier.LoadNativeLibrary();
+        if (!result)
+            return false;
+
+        SDKLicenseHelper sdkLicenseHelper = new SDKLicenseHelper();
+
+        LicenseErrorCode verifyResult = CPDFSDKVerifier.LicenseVerify(sdkLicenseHelper.key, sdkLicenseHelper.secret);
+        if (verifyResult != LicenseErrorCode.LICENSE_ERR_SUCCESS)
+            return false;
+        return result;
+    }
+}

+ 36 - 0
Demo/Examples/Samples/BatesTest/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("BatesTest")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("BatesTest")]
+[assembly: AssemblyCopyright("Copyright ©  2023")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components.  If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("5ce5b624-b2b8-479c-8842-b70591b01124")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

File diff suppressed because it is too large
+ 4 - 0
Demo/Examples/Samples/BatesTest/license_key_win.xml


+ 4 - 0
Demo/Examples/Samples/BatesTest/packages.config

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+  <package id="ComPDFKit.NetFramework" version="1.9.0" targetFramework="net461" />
+</packages>

+ 6 - 0
Demo/Examples/Samples/HeaderFooterTest/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
+    </startup>
+</configuration>

+ 45 - 0
Demo/Examples/Samples/HeaderFooterTest/Blank Page.pdf

@@ -0,0 +1,45 @@
+%PDF-1.7
+%¡³Å×
+1 0 obj
+<</Pages 2 0 R /Type/Catalog>>
+endobj
+2 0 obj
+<</Count 5/Kids[ 4 0 R  5 0 R  8 0 R  7 0 R  6 0 R ]/Type/Pages>>
+endobj
+3 0 obj
+<</CreationDate(D:20230704151320)>>
+endobj
+4 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+5 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+6 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+7 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+8 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+xref
+0 9
+0000000000 65535 f
+0000000017 00000 n
+0000000066 00000 n
+0000000150 00000 n
+0000000204 00000 n
+0000000297 00000 n
+0000000390 00000 n
+0000000483 00000 n
+0000000576 00000 n
+trailer
+<<
+/Root 1 0 R
+/Info 3 0 R
+/Size 9/ID[<7800A4991AF561A4D70D3004F5E43166><7800A4991AF561A4D70D3004F5E43166>]>>
+startxref
+669
+%%EOF

+ 206 - 0
Demo/Examples/Samples/HeaderFooterTest/HeaderFooterTest.cs

@@ -0,0 +1,206 @@
+using ComPDFKit.PDFDocument;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Xml.Linq;
+using static System.Net.Mime.MediaTypeNames;
+
+namespace HeaderFooterTest
+{
+    internal class HeaderFooterTest
+    {
+        private static string outputPath = Path.GetDirectoryName(Path.GetDirectoryName(Path.GetDirectoryName(System.IO.Directory.GetCurrentDirectory()))) + "\\Output\\HeaderFooter";
+
+        static void Main(string[] args)
+        {
+            SDKLicenseHelper.LicenseVerify();
+
+            CPDFDocument document = CPDFDocument.InitWithFilePath("Blank Page.pdf");
+
+            if (!Directory.Exists(outputPath))
+            {
+                Directory.CreateDirectory(outputPath);
+            }
+
+            #region Add common header and footer
+            if (AddCommonHeaderFooter(document))
+            {
+                Console.WriteLine("Add common header and footer succeeded.\n");
+            }
+            else
+            {
+                Console.WriteLine("Add common header and footer failed.\n");
+            }
+            Console.WriteLine();
+            #endregion
+
+            #region Add page header and footer 
+            if (AddPageHeaderFooter(document))
+            {
+                Console.WriteLine("Add page header and footer succeeded.\n");
+            }
+            else
+            {
+                Console.WriteLine("Add page header and footer failed.\n");
+            }
+            Console.WriteLine();
+            #endregion
+
+            #region Edit header and footer 
+            if (EditHeaderFooter(document))
+            {
+                Console.WriteLine("Edit header and footer succeeded.\n");
+            }
+            else
+            {
+                Console.WriteLine("Edit header and footer failed.\n");
+            }
+            Console.WriteLine();
+            #endregion
+
+            #region Delete header and footer 
+            if (DeleteHeaderFooter(document))
+            {
+                Console.WriteLine("Delete header and footer succeeded.\n");
+            }
+            else
+            {
+                Console.WriteLine("delete header and footer failed\n");
+            }
+            Console.WriteLine();
+            #endregion
+
+            Console.ReadLine();
+        }
+
+        /// <summary>
+        /// Follow these steps to add a header and footer in a blank pages file.  
+        /// </summary>
+        /// <param name="document">Documents that require manipulation</param>
+        private static bool AddCommonHeaderFooter(CPDFDocument document)
+        {
+
+            // Init HeaderFooter
+            CPDFHeaderFooter headerFooter = document.GetHeaderFooter();
+            // Set Text: 1
+            headerFooter.SetText(0, "ComPDFKit");
+            // Set page index: all the page
+            headerFooter.SetPages("0-" + (document.PageCount - 1));
+            // Set color : red
+            byte[] color = { 255, 0, 0 };
+            headerFooter.SetTextColor(0, color);
+            // Set font size : 14
+            headerFooter.SetFontSize(0, 14);
+            // Update HeaderFooter
+            headerFooter.Update();
+
+            // Save to pointed path so you can observe the effect.
+            string addHeaderFooterPath = outputPath + "\\Blank Page_AddCommonHeaderFooter.pdf";
+
+            if (document.WriteToFilePath(addHeaderFooterPath))
+            {
+                Console.WriteLine("Browse the changed file in " + addHeaderFooterPath);
+                return true;
+            }
+            else
+            {
+                return false;
+            }
+        }
+
+        private static bool AddPageHeaderFooter(CPDFDocument document)
+        {
+            // Init HeaderFooter
+            CPDFHeaderFooter headerFooter = document.GetHeaderFooter();
+            // Set Text: 1
+            headerFooter.SetText(0, "<<1,2>>");
+            // Set page index: all the page
+            headerFooter.SetPages("0-" + (document.PageCount - 1));
+            // Set color : red
+            byte[] color = { 255, 0, 0 };
+            headerFooter.SetTextColor(0, color);
+            // Set font size : 14
+            headerFooter.SetFontSize(0, 14);
+            // Update HeaderFooter
+            headerFooter.Update();
+
+            // Save to pointed path so you can observe the effect.
+            string addHeaderFooterPath = outputPath + "\\Blank Page_AddPageHeaderFooter.pdf";
+
+            if (document.WriteToFilePath(addHeaderFooterPath))
+            {
+                Console.WriteLine("Browse the changed file in " + addHeaderFooterPath);
+                return true;
+            }
+            else
+            {
+                return false;
+            }
+        }
+
+        /// <summary>
+        ///  Follow these steps to delete a header and footer in a blank pages file.  
+        /// </summary>
+        /// <param name="document">Documents that require manipulation</param>
+        private static bool EditHeaderFooter(CPDFDocument document)
+        {
+            CPDFHeaderFooter headerFooter = document.GetHeaderFooter();
+
+            if (headerFooter.GetText(0) != string.Empty)
+            {
+                Console.WriteLine("Get head and footer 0 succeeded, text is {0}", headerFooter.GetText(0));
+            }
+            else
+            {
+                Console.WriteLine("Get head and footer 0 failed");
+                return false;
+            }
+          
+            headerFooter.SetText(0, "PDF SDK");
+
+            headerFooter.Update();
+
+            string editHeaderFooterPath = outputPath + "\\Blank Page_EditHeaderFooter.pdf";
+
+            if (document.WriteToFilePath(editHeaderFooterPath))
+            {
+                Console.WriteLine("Browse the changed file in " + editHeaderFooterPath);
+                return true;
+            }
+            else
+            {
+                return false;
+            }
+        }
+
+        private static bool DeleteHeaderFooter(CPDFDocument document)
+        {
+            CPDFHeaderFooter headerFooter = document.GetHeaderFooter();
+    
+            headerFooter.Clear();
+            //headerFooter.Update();
+            var str = headerFooter.GetText(0);
+
+            if (headerFooter.GetText(0) != string.Empty)
+            {
+                Console.WriteLine("Delete failed");
+
+            } 
+
+            string deleteHeaderFooterPath = outputPath + "\\Blank Page_DeleteHeaderFooter.pdf";
+
+            if (document.WriteToFilePath(deleteHeaderFooterPath))
+            {
+                Console.WriteLine("Browse the changed file in " + deleteHeaderFooterPath);
+                return true;
+            }
+            else
+            {
+                return false;
+            }
+        }
+    }
+}

+ 78 - 0
Demo/Examples/Samples/HeaderFooterTest/HeaderFooterTest.csproj

@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{5AF53BD9-A085-4550-8F78-98CCFFFDCDA9}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <RootNamespace>HeaderFooterTest</RootNamespace>
+    <AssemblyName>Viewer_ComPDFKit</AssemblyName>
+    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+    <Deterministic>true</Deterministic>
+    <NuGetPackageImportStamp>
+    </NuGetPackageImportStamp>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="ComPDFKit.Desk, Version=1.8.1.0, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.0\lib\ComPDFKit.Desk.dll</HintPath>
+    </Reference>
+    <Reference Include="ComPDFKit.Viewer, Version=1.8.1.0, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.0\lib\ComPDFKit.Viewer.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="..\LicenseKey.cs" />
+    <Compile Include="HeaderFooterTest.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+    <None Include="..\..\TestFile\Blank Page.pdf">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </None>
+    <None Include="packages.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="..\..\license_key_win.xml">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </None>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <Import Project="..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets" Condition="Exists('..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.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\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets'))" />
+  </Target>
+</Project>

+ 36 - 0
Demo/Examples/Samples/HeaderFooterTest/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("HeaderFooterTest")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("HeaderFooterTest")]
+[assembly: AssemblyCopyright("Copyright ©  2023")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components.  If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("5af53bd9-a085-4550-8f78-98ccfffdcda9")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 4 - 0
Demo/Examples/Samples/HeaderFooterTest/packages.config

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+  <package id="ComPDFKit.NetFramework" version="1.9.0" targetFramework="net461" />
+</packages>

+ 37 - 0
Demo/Examples/Samples/LicenseKey.cs

@@ -0,0 +1,37 @@
+using ComPDFKit.NativeMethod;
+using System.Xml;
+
+public class SDKLicenseHelper
+{
+    public string key = string.Empty;
+    public string secret = string.Empty;
+
+    public SDKLicenseHelper()
+    {
+        string sdkLicensePath = "license_key_win.xml";
+        XmlDocument xmlDocument = new XmlDocument();
+        xmlDocument.Load(sdkLicensePath);
+        var node = xmlDocument.SelectSingleNode("License");
+        if (node != null)
+        {
+            key = node.Attributes["key"].Value;
+            secret = node.Attributes["secret"].Value;
+        }
+    }
+
+    public static bool LicenseVerify()
+    {
+        bool result = false;
+
+        result = CPDFSDKVerifier.LoadNativeLibrary();
+        if (!result)
+            return false;
+
+        SDKLicenseHelper sdkLicenseHelper = new SDKLicenseHelper();
+
+        LicenseErrorCode verifyResult = CPDFSDKVerifier.LicenseVerify(sdkLicenseHelper.key, sdkLicenseHelper.secret);
+        if (verifyResult != LicenseErrorCode.LICENSE_ERR_SUCCESS)
+            return false;
+        return result;
+    }
+}

BIN
Demo/Examples/Samples/Output/Bates/Blank Page_AddBates.pdf


BIN
Demo/Examples/Samples/Output/HeaderFooter/Blank Page_AddCommonHeaderFooter.pdf


BIN
Demo/Examples/Samples/Output/HeaderFooter/Blank Page_AddHeaderFooter.pdf


BIN
Demo/Examples/Samples/Output/HeaderFooter/Blank Page_AddPageHeaderFooter.pdf


BIN
Demo/Examples/Samples/Output/HeaderFooter/Blank Page_DeleteHeaderFooter.pdf


BIN
Demo/Examples/Samples/Output/HeaderFooter/Blank Page_EditHeaderFooter.pdf


+ 45 - 0
Demo/Examples/TestFile/Blank Page.pdf

@@ -0,0 +1,45 @@
+%PDF-1.7
+%����
+1 0 obj
+<</Pages 2 0 R /Type/Catalog>>
+endobj
+2 0 obj
+<</Count 5/Kids[ 4 0 R  5 0 R  8 0 R  7 0 R  6 0 R ]/Type/Pages>>
+endobj
+3 0 obj
+<</CreationDate(D:20230704151320)>>
+endobj
+4 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+5 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+6 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+7 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+8 0 obj
+<</MediaBox[ 0 0 595 842]/Parent 2 0 R /Resources<<>>/Rotate 0/Type/Page>>
+endobj
+xref
+0 9
+0000000000 65535 f
+0000000017 00000 n
+0000000066 00000 n
+0000000150 00000 n
+0000000204 00000 n
+0000000297 00000 n
+0000000390 00000 n
+0000000483 00000 n
+0000000576 00000 n
+trailer
+<<
+/Root 1 0 R
+/Info 3 0 R
+/Size 9/ID[<7800A4991AF561A4D70D3004F5E43166><7800A4991AF561A4D70D3004F5E43166>]>>
+startxref
+669
+%%EOF

BIN
Demo/Examples/TestFile/Form_Widgets_Test.pdf


+ 0 - 2
Demo/Examples/Viewer/App.xaml.cs

@@ -13,9 +13,7 @@ namespace Viewer
         public string secret = string.Empty;
         public SDKLicenseHelper()
         {
-
             string sdkLicensePath = "license_key_win.xml";
-            Assembly assembly = Assembly.GetExecutingAssembly();
             XmlDocument xmlDocument = new XmlDocument();
             xmlDocument.Load(sdkLicensePath);
             var node = xmlDocument.SelectSingleNode("License");

+ 5 - 5
Demo/Examples/Viewer/Properties/AssemblyInfo.cs

@@ -7,12 +7,12 @@ using System.Windows;
 // General Information about an assembly is controlled through the following
 // set of attributes. Change these attribute values to modify the information
 // associated with an assembly.
-[assembly: AssemblyTitle("viewer-ctrl-demo")]
+[assembly: AssemblyTitle("Viewer_ComPDFKit")]
 [assembly: AssemblyDescription("")]
 [assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("HP Inc.")]
-[assembly: AssemblyProduct("viewer-ctrl-demo")]
-[assembly: AssemblyCopyright("Copyright © HP Inc. 2023")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Viewer_ComPDFKit")]
+[assembly: AssemblyCopyright("Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]
 
@@ -51,5 +51,5 @@ using System.Windows;
 // You can specify all the values or you can default the Build and Revision Numbers
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyVersion("1.9.0.0")]
 [assembly: AssemblyFileVersion("1.0.0.0")]

File diff suppressed because it is too large
+ 2 - 2
Demo/Examples/license_key_win.xml