Browse Source

compdfkit(win) - 设计多语言方案 & 部分字体替换

weixiangjie 1 year ago
parent
commit
c841539c0c
59 changed files with 555 additions and 191 deletions
  1. 2 2
      Demo/Examples/Compdfkit_Tools/Annotation/CPDFAnnotationPreviewerControl.xaml
  2. 4 4
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationList/PDFAnnotationListUI/CPDFAnnoationListUI.xaml
  3. 2 2
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFCreateStampDialog.xaml
  4. 2 2
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFDeleteDialog.xaml
  5. 1 1
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFFreeTextUI.xaml
  6. 1 1
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFFreehandUI.xaml
  7. 1 1
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFLinkUI.xaml
  8. 1 1
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFMarkupUI.xaml
  9. 1 1
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFNoteUI.xaml
  10. 1 1
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFShapeUI.xaml
  11. 2 2
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFSignatureUI.xaml
  12. 3 3
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFStampUI.xaml
  13. 1 1
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFTempStampUI.xaml
  14. 2 2
      Demo/Examples/Compdfkit_Tools/Asset/Styles/RadioButtonStyle.xaml
  15. 6 0
      Demo/Examples/Compdfkit_Tools/Common/BarControl/CPDFBOTABarControl.xaml.cs
  16. 4 4
      Demo/Examples/Compdfkit_Tools/Common/BaseControl/CustomProgressBarControl.xaml
  17. 9 9
      Demo/Examples/Compdfkit_Tools/Common/CreateBlankPageSetting/CreateBlankPageSettingDialog.xaml
  18. 10 0
      Demo/Examples/Compdfkit_Tools/Common/Helper/LanguageHelper.cs
  19. 4 4
      Demo/Examples/Compdfkit_Tools/Common/HomePage/FeaturesListControl.xaml
  20. 2 0
      Demo/Examples/Compdfkit_Tools/Common/HomePage/FeaturesListControl.xaml.cs
  21. 2 2
      Demo/Examples/Compdfkit_Tools/Common/HomePage/HomePageControl.xaml
  22. 4 4
      Demo/Examples/Compdfkit_Tools/Common/HomePage/RecentFilesControl.xaml
  23. 3 3
      Demo/Examples/Compdfkit_Tools/Common/PreviewControl/PreviewControl.xaml
  24. 19 0
      Demo/Examples/Compdfkit_Tools/Compdfkit_Tools.csproj
  25. 4 4
      Demo/Examples/Compdfkit_Tools/DigitalSignature/AddCertificationControl/AddCertificationControl.xaml
  26. 3 3
      Demo/Examples/Compdfkit_Tools/DigitalSignature/AddCertificationControl/AddExistedCertificationControl.xaml
  27. 4 4
      Demo/Examples/Compdfkit_Tools/DigitalSignature/AddCertificationControl/SaveCerficateControl.xaml
  28. 1 1
      Demo/Examples/Compdfkit_Tools/DigitalSignature/SignatureStatusBarControl/SignatureStatusBarControl.xaml
  29. 2 2
      Demo/Examples/Compdfkit_Tools/DigitalSignature/VerifyDigitalSignatureControl/DigitalSignatureInfoControl.xaml
  30. 1 1
      Demo/Examples/Compdfkit_Tools/DigitalSignature/VerifyDigitalSignatureControl/DigitalSignatureValiditySummaaryControl.xaml
  31. 1 1
      Demo/Examples/Compdfkit_Tools/DigitalSignature/VerifyDigitalSignatureControl/VerifyDigitalSignatureControl.xaml
  32. 7 7
      Demo/Examples/Compdfkit_Tools/Form/Property/CheckBoxProperty.xaml
  33. 9 9
      Demo/Examples/Compdfkit_Tools/Form/Property/ComboBoxProperty.xaml
  34. 9 9
      Demo/Examples/Compdfkit_Tools/Form/Property/ListBoxProperty.xaml
  35. 9 9
      Demo/Examples/Compdfkit_Tools/Form/Property/PushButtonProperty.xaml
  36. 7 7
      Demo/Examples/Compdfkit_Tools/Form/Property/RadioButtonProperty.xaml
  37. 2 2
      Demo/Examples/Compdfkit_Tools/Form/Property/SignatureProperty.xaml
  38. 9 9
      Demo/Examples/Compdfkit_Tools/Form/Property/TextFieldProperty.xaml
  39. 2 2
      Demo/Examples/Compdfkit_Tools/PDFView/PDFBookmark/PDFBookmarkUI/CPDFBookmarkResultUI.xaml
  40. 2 2
      Demo/Examples/Compdfkit_Tools/PDFView/PDFSearch/PDFSearchUI/CPDFSearchResultUI.xaml
  41. 1 1
      Demo/Examples/Compdfkit_Tools/PageEdit/PDFPageExtract/CPDFPageExtractUI.xaml
  42. 2 2
      Demo/Examples/Compdfkit_Tools/PageEdit/PDFPageInsert/CPDFPageInsertUI.xaml
  43. 4 4
      Demo/Examples/Compdfkit_Tools/Security/Encryption/DecryptionDialog.xaml
  44. 7 7
      Demo/Examples/Compdfkit_Tools/Security/Encryption/FileGridListControl.xaml
  45. 5 5
      Demo/Examples/Compdfkit_Tools/Security/Encryption/SecurityOperationTypeDialog.xaml
  46. 8 8
      Demo/Examples/Compdfkit_Tools/Security/Encryption/SetEncryptionControl.xaml
  47. 8 8
      Demo/Examples/Compdfkit_Tools/Security/Watermark/AddWatermark/FileGridListWithPageRangeControl.xaml
  48. 5 5
      Demo/Examples/Compdfkit_Tools/Security/Watermark/AddWatermark/PageRangeDialog.xaml
  49. 4 4
      Demo/Examples/Compdfkit_Tools/Security/Watermark/AddWatermark/WatermarkDialog.xaml
  50. 7 7
      Demo/Examples/Compdfkit_Tools/Security/Watermark/RemoveWatermark/RemoveWatermarkListControl.xaml
  51. 5 5
      Demo/Examples/Compdfkit_Tools/Security/Watermark/WatermarkOperationTypeDialog.xaml
  52. 72 0
      Demo/Examples/Compdfkit_Tools/Strings/Resources.Designer.cs
  53. 123 0
      Demo/Examples/Compdfkit_Tools/Strings/Resources.resx
  54. 0 0
      Demo/Examples/Compdfkit_Tools/Strings/Resources.zh-CN.Designer.cs
  55. 123 0
      Demo/Examples/Compdfkit_Tools/Strings/Resources.zh-CN.resx
  56. 10 2
      Demo/Examples/PDFViewer/App.xaml.cs
  57. 3 3
      Demo/Examples/PDFViewer/MainWindow.xaml
  58. 2 1
      Demo/Examples/PDFViewer/MainWindow.xaml.cs
  59. 7 7
      Demo/Examples/PDFViewer/SettingsDialog.xaml

+ 2 - 2
Demo/Examples/Compdfkit_Tools/Annotation/CPDFAnnotationPreviewerControl.xaml

@@ -11,7 +11,7 @@
     <Border BorderBrush="#E2E3E6" BorderThickness="1" Background="#FFFFFF">
         <Grid>
             <Grid x:Name="MarkupGrid" VerticalAlignment="Center" Visibility="Collapsed">
-                <TextBlock Name="SampleText" Text="Sample" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontFamily="Segoe UI" FontSize="20"></TextBlock>
+                <TextBlock Name="SampleText" Text="Sample" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontFamily="Microsoft YaHei" FontSize="20"></TextBlock>
                 
                 <Path x:Name="HighlightPath" HorizontalAlignment="Center" VerticalAlignment="Bottom" Stroke="Green" StrokeThickness="25" Visibility="Collapsed" Panel.ZIndex="-1">
                     <Path.Data>
@@ -56,7 +56,7 @@
             </Grid>
             
             <Grid x:Name="FreeTextGrid" Visibility="Collapsed">
-                <TextBlock Name="FreeText" Text="Sample" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontFamily="Segoe UI" FontSize="20"></TextBlock>
+                <TextBlock Name="FreeText" Text="Sample" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontFamily="Microsoft YaHei" FontSize="20"></TextBlock>
             </Grid>
             
             <Grid x:Name="ShapeGrid" Visibility="Collapsed">

+ 4 - 4
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationList/PDFAnnotationListUI/CPDFAnnoationListUI.xaml

@@ -21,12 +21,12 @@
                             <Grid>
                                 <StackPanel Height="32" Orientation="Horizontal" Background="#F2F2F2">
                                     <TextBlock VerticalAlignment="Center" TextAlignment="Center"
-                                           FontWeight="SemiBold" FontSize="12" Text="Page" FontFamily="Segoe UI" Foreground="#43474D"  Margin="16,6,0,6"/>
+                                           FontWeight="SemiBold" FontSize="12" Text="Page" FontFamily="Microsoft YaHei" Foreground="#43474D"  Margin="16,6,0,6"/>
                                     <TextBlock VerticalAlignment="Center" TextAlignment="Center"
-                                           FontWeight="SemiBold" FontSize="12" Text="{Binding Name}" FontFamily="Segoe UI" Foreground="#43474D" Margin="0,6"/>
+                                           FontWeight="SemiBold" FontSize="12" Text="{Binding Name}" FontFamily="Microsoft YaHei" Foreground="#43474D" Margin="0,6"/>
                                 </StackPanel>
                                 <TextBlock VerticalAlignment="Center" TextAlignment="Center" HorizontalAlignment="Right"  
-                                           FontWeight="SemiBold" FontSize="12" Text="{Binding Items.Count}" FontFamily="Segoe UI" Foreground="#43474D" Margin="0,0,40,0"/>
+                                           FontWeight="SemiBold" FontSize="12" Text="{Binding Items.Count}" FontFamily="Microsoft YaHei" Foreground="#43474D" Margin="0,0,40,0"/>
                             </Grid>
                         </DataTemplate>
                     </GroupStyle.HeaderTemplate>
@@ -102,7 +102,7 @@
                             </Canvas>
                             <TextBlock Text="{Binding BindProperty.CreateDate}" Grid.Column="1" Margin="10,0,0,0"></TextBlock>
                         </Grid>
-                        <TextBox Text="{Binding BindProperty.Note, Mode=OneWay}"  Grid.Row="1" TextWrapping="Wrap" AcceptsReturn="True" IsHitTestVisible="False" Background="Transparent" BorderThickness="0" Width="{Binding ElementName=AnnotationList,Path=ActualWidth}" Padding="16,6,16,6" FontFamily="Segoe UI" FontSize="14px"></TextBox>
+                        <TextBox Text="{Binding BindProperty.Note, Mode=OneWay}"  Grid.Row="1" TextWrapping="Wrap" AcceptsReturn="True" IsHitTestVisible="False" Background="Transparent" BorderThickness="0" Width="{Binding ElementName=AnnotationList,Path=ActualWidth}" Padding="16,6,16,6" FontFamily="Microsoft YaHei" FontSize="14px"></TextBox>
                     </Grid>
                 </ItemContainerTemplate>
             </ListView.ItemTemplate>

+ 2 - 2
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFCreateStampDialog.xaml

@@ -354,7 +354,7 @@
                             <RowDefinition Height="12"/>
                             <RowDefinition Height="20"/>
                         </Grid.RowDefinitions>
-                        <TextBlock Text="Preview" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                        <TextBlock Text="Preview" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                         <Image Grid.Row="1" x:Name="TextImage"  HorizontalAlignment="Center" VerticalAlignment="Center"/>
                         <StackPanel Grid.Row="2" Orientation="Horizontal" Height="32">
                             <TextBlock Margin="18,0,23,0" Text="Text" VerticalAlignment="Center"/>
@@ -364,7 +364,7 @@
                         <CheckBox Grid.Row="6" Name="Time" Content="Time (HH:MM:SS)"  Checked="Time_Checked" Unchecked="Time_Unchecked"/>
                     </Grid>
                     <StackPanel Grid.Row="1">
-                        <TextBlock Text="Stamp Template:" VerticalAlignment="Center" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                        <TextBlock Text="Stamp Template:" VerticalAlignment="Center" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                         <ListBox x:Name="ShapeBox" SelectedIndex="0"  VerticalContentAlignment="Center" SelectionChanged="ShapeBox_SelectionChanged"/>
                     </StackPanel>
                 </Grid>

+ 2 - 2
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFDeleteDialog.xaml

@@ -28,8 +28,8 @@
             <RowDefinition Height="19"/>
         </Grid.RowDefinitions>
         <StackPanel Grid.Row="1" Grid.Column="1">
-            <TextBlock Height="24" x:Name="Title" FontSize="16" FontFamily="Segoe UI" FontWeight="Bold"/>
-            <TextBlock Height="20" x:Name="Content"  FontSize="14" FontFamily="Segoe UI" FontWeight="Regular"/>
+            <TextBlock Height="24" x:Name="Title" FontSize="16" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
+            <TextBlock Height="20" x:Name="Content"  FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Regular"/>
             <StackPanel Orientation="Horizontal" Margin="0,24,0,0">
                 <Button x:Name="Cancel" Content="Cancel" Width="132" Height="32" Click="Cancel_Click"/>
                 <Button x:Name="OK" Content="OK" Width="132" Height="32" Margin="8,0,0,0" Click="OK_Click" Style="{StaticResource ButtonStyle}"/>

+ 1 - 1
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFFreeTextUI.xaml

@@ -13,7 +13,7 @@
             <StackPanel Orientation="Vertical">
                 <Border BorderThickness="1" BorderBrush="#1A000000">
                     <Grid  Height="40" Background="White" >
-                        <TextBlock x:Name="TitileTextBlock" Text="Text Box" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Segoe UI"></TextBlock>
+                        <TextBlock x:Name="TitileTextBlock" Text="Text Box" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Microsoft YaHei"></TextBlock>
                     </Grid>
                 </Border>
                 <StackPanel Orientation="Vertical" Height="150">

+ 1 - 1
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFFreehandUI.xaml

@@ -20,7 +20,7 @@
         <StackPanel Orientation="Vertical">
             <Border BorderThickness="1" BorderBrush="#1A000000">
                 <Grid  Height="40" Background="White" >
-                    <TextBlock x:Name="TitileTextBlock" Text="Freehand" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Segoe UI"></TextBlock>
+                    <TextBlock x:Name="TitleTextBlock" Text="Freehand" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Microsoft YaHei"></TextBlock>
                 </Grid>
             </Border>
             <StackPanel Orientation="Vertical" Height="130">

+ 1 - 1
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFLinkUI.xaml

@@ -427,7 +427,7 @@
         </Grid.RowDefinitions>
         <Border BorderThickness="1" BorderBrush="#1A000000">
             <Grid  Height="40" Background="White" >
-                <TextBlock x:Name="TitleTextBlock" Text="Link"  HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Segoe UI"></TextBlock>
+                <TextBlock x:Name="TitleTextBlock" Text="Link"  HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Microsoft YaHei"></TextBlock>
             </Grid>
         </Border>
         <ScrollViewer VerticalScrollBarVisibility="Auto" Grid.Row="1">

+ 1 - 1
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFMarkupUI.xaml

@@ -19,7 +19,7 @@
             <StackPanel Orientation="Vertical">
                 <Border BorderThickness="1" BorderBrush="#1A000000">
                     <Grid  Height="40" Background="White" >
-                        <TextBlock x:Name="TitleTextBlock"  HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Segoe UI"></TextBlock>
+                        <TextBlock x:Name="TitleTextBlock"  HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Microsoft YaHei"></TextBlock>
                     </Grid>
                 </Border>
                 <cpdftools:CPDFAnnotationPreviewerControl x:Name="CPDFAnnotationPreviewerControl" Height="100" Margin="16"></cpdftools:CPDFAnnotationPreviewerControl>

+ 1 - 1
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFNoteUI.xaml

@@ -13,7 +13,7 @@
             <StackPanel Orientation="Vertical">
                 <Border BorderThickness="1" BorderBrush="#1A000000">
                     <Grid  Height="40" Background="White" >
-                        <TextBlock x:Name="TitileTextBlock" Text="Note" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Segoe UI"></TextBlock>
+                        <TextBlock x:Name="TitileTextBlock" Text="Note" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Microsoft YaHei"></TextBlock>
                     </Grid>
                 </Border>
                 <StackPanel Orientation="Vertical" Height="130">

+ 1 - 1
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFShapeUI.xaml

@@ -13,7 +13,7 @@
             <StackPanel Orientation="Vertical">
                 <Border BorderThickness="1" BorderBrush="#1A000000">
                     <Grid  Height="40" Background="White" >
-                        <TextBlock x:Name="TitleTextBlock"  HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Segoe UI"></TextBlock>
+                        <TextBlock x:Name="TitleTextBlock"  HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Microsoft YaHei"></TextBlock>
                     </Grid>
                 </Border>
                 <StackPanel Orientation="Vertical" Height="130">

+ 2 - 2
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFSignatureUI.xaml

@@ -24,7 +24,7 @@
         </Grid.RowDefinitions>
         <Border BorderThickness="1" BorderBrush="#1A000000">
             <Grid  Height="40" Background="White" >
-                <TextBlock Text="Signature" FontFamily="Segoe UI" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                <TextBlock Text="Signature" FontFamily="Microsoft YaHei" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
             </Grid>
         </Border>
         <Button Grid.Row="2" Height="32" Width="236"  Click="CreateSignature_Click" Style="{StaticResource ButtonStyle}">
@@ -33,7 +33,7 @@
                     <Grid Width="17" Height="16">
                         <Path Data="M9 7.5V3H8V7.5H3.5V8.5H8V13H9V8.5H13.5V7.5H9Z" Fill="White"/>
                     </Grid>
-                    <TextBlock Margin="4,0,0,0" Text="New Signature" FontFamily="Segoe UI" FontSize="14" FontWeight="Regular" Foreground="White"/>
+                    <TextBlock Margin="4,0,0,0" Text="New Signature" FontFamily="Microsoft YaHei" FontSize="14" FontWeight="Regular" Foreground="White"/>
                 </StackPanel>
             </Button.Content>
         </Button>

+ 3 - 3
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFStampUI.xaml

@@ -22,7 +22,7 @@
         </Grid.RowDefinitions>
         <Border BorderThickness="1" BorderBrush="#1A000000">
             <Grid  Height="40" Background="White" >
-                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Stamp" FontSize="16" FontFamily="Segoe UI" FontWeight="Bold"/>
+                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Stamp" FontSize="16" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
             </Grid>
         </Border>
         <TabControl Grid.Row="1" Style="{DynamicResource TabControlStyle1}" >
@@ -109,13 +109,13 @@
                         <Button Background="#001A4E"  Height="32" Width="114" Click="Text_Click">
                             <StackPanel Orientation="Horizontal">
                                 <Path Fill="White" Width="16" Height="16" Data="M13 3V5.4074H11.8889V4.11111H8.55569V11.5444H9.72871V12.6555H6.27192V11.5444H7.44458V4.11111H4.11111V5.4074H3V3H13Z"/>
-                                <TextBlock Margin="4,0,0,0" Text="Text Stamp" Foreground="White" FontSize="14" FontFamily="Segoe UI" FontWeight="Regular"/>
+                                <TextBlock Margin="4,0,0,0" Text="Text Stamp" Foreground="White" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Regular"/>
                             </StackPanel>
                         </Button>
                         <Button Background="#001A4E"  Height="32" Width="114" Margin="8,0,0,0" Click="Image_Click">
                             <StackPanel Orientation="Horizontal">
                                 <Path Fill="White" Width="16" Height="16" Data="M1 2.6001H15V13.4001H1V2.6001ZM13.8 3.80009H2.2V10.5677L4.63597 8.00009L8.05143 10.8001L9.89748 8.8543L13.7153 12.2001H13.8V3.80009ZM11.6 7.20009C12.2627 7.20009 12.8 6.66283 12.8 6.00009C12.8 5.33735 12.2627 4.80009 11.6 4.80009C10.9373 4.80009 10.4 5.33735 10.4 6.00009C10.4 6.66283 10.9373 7.20009 11.6 7.20009Z" />
-                                <TextBlock Margin="4,0,0,0" Text="Image Stamp" Foreground="White" FontSize="14" FontFamily="Segoe UI" FontWeight="Regular"/>
+                                <TextBlock Margin="4,0,0,0" Text="Image Stamp" Foreground="White" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Regular"/>
                             </StackPanel>
                         </Button>
                     </StackPanel>

+ 1 - 1
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFTempStampUI.xaml

@@ -12,7 +12,7 @@
             <StackPanel Orientation="Vertical">
                 <Border BorderThickness="1" BorderBrush="#1A000000">
                     <Grid  Height="40" Background="White" >
-                        <TextBlock x:Name="TitileTextBlock" Text="Image"  HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Segoe UI"></TextBlock>
+                        <TextBlock x:Name="TitileTextBlock" Text="Image"  HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Microsoft YaHei"></TextBlock>
                     </Grid>
                 </Border>
                 <StackPanel Orientation="Vertical" Height="150">

+ 2 - 2
Demo/Examples/Compdfkit_Tools/Asset/Styles/RadioButtonStyle.xaml

@@ -41,8 +41,8 @@
                                         <RowDefinition Height="25"></RowDefinition>
                                         <RowDefinition></RowDefinition>
                                     </Grid.RowDefinitions>
-                                    <TextBlock Text="{TemplateBinding Title}" TextWrapping="Wrap" FontSize="14" FontWeight="Bold" FontFamily="Segoe UI"></TextBlock>
-                                    <TextBlock Grid.Row="1" Text="{TemplateBinding Description}" TextWrapping="Wrap" FontSize="12" FontWeight="Normal" FontFamily="Segoe UI"></TextBlock>
+                                    <TextBlock Text="{TemplateBinding Title}" TextWrapping="Wrap" FontSize="14" FontWeight="Bold" FontFamily="Microsoft YaHei"></TextBlock>
+                                    <TextBlock Grid.Row="1" Text="{TemplateBinding Description}" TextWrapping="Wrap" FontSize="12" FontWeight="Normal" FontFamily="Microsoft YaHei"></TextBlock>
                                 </Grid>
                             </Grid>
                         </Border>

+ 6 - 0
Demo/Examples/Compdfkit_Tools/Common/BarControl/CPDFBOTABarControl.xaml.cs

@@ -148,6 +148,7 @@ namespace Compdfkit_Tools.PDFControl
             thumbnailButton.Width = 52;
             thumbnailButton.BorderThickness = new Thickness(0);
             thumbnailButton.Style = FindResource("ToggleButtonStyle") as Style;
+            thumbnailButton.ToolTip = "View Thumbnails";
             thumbnailButton.Content = new Path
             {
                 Width = 16,
@@ -165,6 +166,7 @@ namespace Compdfkit_Tools.PDFControl
             outlineButton.Width = 52;
             outlineButton.BorderThickness= new Thickness(0);
             outlineButton.Style = FindResource("ToggleButtonStyle") as Style;
+            outlineButton.ToolTip = "View Outlines";
             outlineButton.Content = new Path
             {
                 Width = 16,
@@ -182,6 +184,7 @@ namespace Compdfkit_Tools.PDFControl
             bookmarkButton.Width = 52;
             bookmarkButton.BorderThickness = new Thickness(0);
             bookmarkButton.Style = FindResource("ToggleButtonStyle") as Style;
+            bookmarkButton.ToolTip = "View Bookmarks";
             bookmarkButton.Content = new Path
             {
                 Width = 16,
@@ -198,6 +201,7 @@ namespace Compdfkit_Tools.PDFControl
             annotButton.Width = 52;
             annotButton.BorderThickness = new Thickness(0);
             annotButton.Style = FindResource("ToggleButtonStyle") as Style;
+            annotButton.ToolTip = "View Annotations";
             annotButton.Content = new Path
             {
                 Width = 16,
@@ -214,6 +218,7 @@ namespace Compdfkit_Tools.PDFControl
             searchButton.Width = 52;
             searchButton.BorderThickness = new Thickness(0);
             searchButton.Style = FindResource("ToggleButtonStyle") as Style;
+            searchButton.ToolTip = "Search";
             searchButton.Content = new Path
             {
                 Width = 16,
@@ -231,6 +236,7 @@ namespace Compdfkit_Tools.PDFControl
             signatureButton.Width = 52;
             signatureButton.BorderThickness = new Thickness(0);
             signatureButton.Style = FindResource("ToggleButtonStyle") as Style;
+            signatureButton.ToolTip = "View Signatures";
             signatureButton.Content = new Path
             {
                 Width = 16,

+ 4 - 4
Demo/Examples/Compdfkit_Tools/Common/BaseControl/CustomProgressBarControl.xaml

@@ -13,14 +13,14 @@
             <ColumnDefinition Width="Auto"></ColumnDefinition>
         </Grid.ColumnDefinitions>
         
-        <TextBlock Text="Progress" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Center"></TextBlock>
+        <TextBlock Text="Progress" FontFamily="Microsoft YaHei" FontSize="14" VerticalAlignment="Center"></TextBlock>
         
         <ProgressBar Grid.Column="1" Height="5" Foreground="#0078D7" Margin="5,0,5,0" Value="{Binding ProgressValue}" Maximum="{Binding ProgressMaxValue}"></ProgressBar>
         
         <StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Center">
-            <TextBlock Text="{Binding ProgressValue}" FontFamily="Segoe UI" FontSize="14"></TextBlock>
-            <TextBlock Text=" / " FontFamily="Segoe UI" FontSize="14"></TextBlock>
-            <TextBlock Text="{Binding ProgressMaxValue}" FontFamily="Segoe UI" FontSize="14"></TextBlock>
+            <TextBlock Text="{Binding ProgressValue}" FontFamily="Microsoft YaHei" FontSize="14"></TextBlock>
+            <TextBlock Text=" / " FontFamily="Microsoft YaHei" FontSize="14"></TextBlock>
+            <TextBlock Text="{Binding ProgressMaxValue}" FontFamily="Microsoft YaHei" FontSize="14"></TextBlock>
         </StackPanel>
     </Grid>
 </UserControl>

+ 9 - 9
Demo/Examples/Compdfkit_Tools/Common/CreateBlankPageSetting/CreateBlankPageSettingDialog.xaml

@@ -23,7 +23,7 @@
             <RowDefinition Height="40"></RowDefinition>
         </Grid.RowDefinitions>
         <Grid Background="White" Margin="20,0,0,0"  Panel.ZIndex="1" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top">
-            <TextBlock Foreground="#001A4E" FontFamily="Segoe UI" Text="Select page size" FontWeight="DemiBold" FontSize="14"></TextBlock>
+            <TextBlock Foreground="#001A4E" FontFamily="Microsoft YaHei" Text="Select page size" FontWeight="DemiBold" FontSize="14"></TextBlock>
         </Grid>
         <Border Margin="0,10,7,12" BorderBrush="#33000000" BorderThickness="1">
             <Grid Margin="10,10,10,10" VerticalAlignment="Center" Height="{Binding Path=ActualHeight, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Border}}}">
@@ -32,14 +32,14 @@
                     <RowDefinition></RowDefinition>
                     <RowDefinition></RowDefinition>
                 </Grid.RowDefinitions>
-                <RadioButton x:Name="A3Rdo" Margin="0,10,0,0" VerticalAlignment="Center" FontFamily="Segoe UI" FontSize="14" Content="A3 (420*297mm)"></RadioButton>
-                <RadioButton Grid.Row="1" x:Name="A4Rdo" IsChecked="True" VerticalAlignment="Center" FontFamily="Segoe UI" FontSize="14" Content="A4 (210*297mm)"></RadioButton>
-                <RadioButton Grid.Row="2" x:Name="A5Rdo" Margin="0,0,0,10" VerticalAlignment="Center" FontFamily="Segoe UI" FontSize="14" Content="A5 (148*219mm)"></RadioButton>
+                <RadioButton x:Name="A3Rdo" Margin="0,10,0,0" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="A3 (420*297mm)"></RadioButton>
+                <RadioButton Grid.Row="1" x:Name="A4Rdo" IsChecked="True" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="A4 (210*297mm)"></RadioButton>
+                <RadioButton Grid.Row="2" x:Name="A5Rdo" Margin="0,0,0,10" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="A5 (148*219mm)"></RadioButton>
             </Grid>
         </Border>
         
         <Grid Grid.Row="1" Background="White" Margin="20,0,0,0"  Panel.ZIndex="1" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top">
-            <TextBlock Foreground="#001A4E" FontFamily="Segoe UI" Text="Select Page Orientation" FontWeight="DemiBold" FontSize="14"></TextBlock>
+            <TextBlock Foreground="#001A4E" FontFamily="Microsoft YaHei" Text="Select Page Orientation" FontWeight="DemiBold" FontSize="14"></TextBlock>
         </Grid>
         <Border Grid.Row="1" Margin="0,10,7,12" BorderBrush="#33000000" BorderThickness="1">
             <Grid Margin="10" VerticalAlignment="Center" Height="{Binding Path=ActualHeight, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Border}}}">
@@ -47,13 +47,13 @@
                     <RowDefinition></RowDefinition>
                     <RowDefinition></RowDefinition>
                 </Grid.RowDefinitions>
-                <RadioButton x:Name="HorizontalRdo" Margin="0,10,0,0" VerticalAlignment="Center" FontFamily="Segoe UI" FontSize="14" Content="Orthogonal"></RadioButton>
-                <RadioButton Grid.Row="1" x:Name="VerticalRdo" Margin="0,0,0,10" IsChecked="True" VerticalAlignment="Center" FontFamily="Segoe UI" FontSize="14" Content="Vertically"></RadioButton>
+                <RadioButton x:Name="HorizontalRdo" Margin="0,10,0,0" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="Orthogonal"></RadioButton>
+                <RadioButton Grid.Row="1" x:Name="VerticalRdo" Margin="0,0,0,10" IsChecked="True" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="Vertically"></RadioButton>
             </Grid>
         </Border>
         <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
-            <Button Content="Cancel" Width="112" Height="32" FontFamily="Segoe UI" FontSize="14" Click="Cancel_Click"></Button>
-            <Button Content="OK" Width="112" Height="32" FontFamily="Segoe UI" FontSize="14" Margin="10,0,10,0" Click="Confirm_Click"></Button>
+            <Button Content="Cancel" Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Click="Cancel_Click"></Button>
+            <Button Content="OK" Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Margin="10,0,10,0" Click="Confirm_Click"></Button>
         </StackPanel>
     </Grid>
 </Window>

+ 10 - 0
Demo/Examples/Compdfkit_Tools/Common/Helper/LanguageHelper.cs

@@ -0,0 +1,10 @@
+using System.Reflection;
+using System.Resources;
+
+namespace Compdfkit_Tools.Helper
+{
+    public abstract class LanguageHelper
+    {
+		public static ResourceManager ToolsLoader= new System.Resources.ResourceManager("Compdfkit_Tools.Strings.Resources", Assembly.GetExecutingAssembly());
+    }
+}

+ 4 - 4
Demo/Examples/Compdfkit_Tools/Common/HomePage/FeaturesListControl.xaml

@@ -63,7 +63,7 @@
             <RowDefinition Height="40"></RowDefinition>
             <RowDefinition></RowDefinition>
         </Grid.RowDefinitions>
-        <TextBlock Text="Features List" Foreground="#001A4E" FontFamily="Segoe UI" FontSize="24" LineHeight="32" FontWeight="DemiBold"></TextBlock>
+        <TextBlock x:Name="FeaturesListTxb" Foreground="#001A4E" FontFamily="Microsoft YaHei" FontSize="24" LineHeight="32" FontWeight="Medium"></TextBlock>
         <Grid x:Name="ListGd" Grid.Row="1" SizeChanged="ListGd_SizeChanged">
             <Grid.RowDefinitions>
                 <RowDefinition></RowDefinition>
@@ -114,9 +114,9 @@
                     <Button Name="PrePageBtn" Style="{StaticResource PageButtonStyle}" Height="40" Width="40" Click="PrePageBtn_Click">
                         <Path Data="M5.79777 12L6.5 11.2733L1.40446 6L6.5 0.726727L5.79777 0L0 6L5.79777 12Z" Fill="#001A4E"></Path>
                     </Button>
-                    <TextBlock Text="{Binding CurrentIndex}" FontFamily="Segoe ui" VerticalAlignment="Center" FontWeight="DemiBold" FontSize="18"  Margin="5,0,5,0"></TextBlock>
-                    <TextBlock Text="/" FontFamily="Segoe ui" VerticalAlignment="Center" FontWeight="DemiBold" FontSize="18" ></TextBlock>
-                    <TextBlock Text="{Binding TotalIndex}" FontFamily="Segoe ui" VerticalAlignment="Center" FontWeight="DemiBold" FontSize="18"   Margin="5,0,5,0"></TextBlock>
+                    <TextBlock Text="{Binding CurrentIndex}" FontFamily="Microsoft YaHei" VerticalAlignment="Center" FontWeight="DemiBold" FontSize="18"  Margin="5,0,5,0"></TextBlock>
+                    <TextBlock Text="/" FontFamily="Microsoft YaHei" VerticalAlignment="Center" FontWeight="DemiBold" FontSize="18" ></TextBlock>
+                    <TextBlock Text="{Binding TotalIndex}" FontFamily="Microsoft YaHei" VerticalAlignment="Center" FontWeight="DemiBold" FontSize="18"   Margin="5,0,5,0"></TextBlock>
                     <Button x:Name="NextPageBtn"  Style="{StaticResource PageButtonStyle}" Height="40" Width="40" Click="NextPageBtn_Click">
                         <Path Data="M0.702232 12L0 11.2733L5.09554 6L0 0.726727L0.702232 0L6.5 6L0.702232 12Z" Fill="#001A4E"></Path>
                     </Button>

+ 2 - 0
Demo/Examples/Compdfkit_Tools/Common/HomePage/FeaturesListControl.xaml.cs

@@ -15,6 +15,7 @@ using System.Windows.Media;
 using System.Windows.Media.Imaging;
 using System.Windows.Navigation;
 using System.Windows.Shapes;
+using Compdfkit_Tools.Helper;
 
 namespace Compdfkit_Tools.PDFControl
 {
@@ -99,6 +100,7 @@ namespace Compdfkit_Tools.PDFControl
             this.DataContext = this;
             InitializeComponent();
             Items = new ObservableCollection<CustomItem>();
+            FeaturesListTxb.Text = LanguageHelper.ToolsLoader.GetString("Apple");
         }
 
         private void FeaturesListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)

+ 2 - 2
Demo/Examples/Compdfkit_Tools/Common/HomePage/HomePageControl.xaml

@@ -67,14 +67,14 @@
                 <Button Width="200" Height="64" Background="#001A4E" Click="OpenDocument_Click" Style="{StaticResource ButtonHoverStyle}">
                     <StackPanel Orientation="Horizontal">
                         <Image Source="{StaticResource OpenDocumentIcon}" Height="30" Width="30"></Image>
-                        <TextBlock Margin="12,0,0,0" VerticalAlignment="Center" Text="Open Document" Foreground="White" FontFamily="Segoe UI" FontSize="16" LineHeight="24"></TextBlock>
+                        <TextBlock Margin="12,0,0,0" VerticalAlignment="Center" Text="Open Document" Foreground="White" FontFamily="Microsoft YaHei" FontSize="16" LineHeight="24"></TextBlock>
                     </StackPanel>
                 </Button>
                 
                 <Button Width="200" Height="64" Background="White" Margin="0,28,0,0" Click="CreateDocument_Click" Style="{StaticResource ButtonHoverStyle}">
                     <StackPanel Orientation="Horizontal" Margin="5,0,0,0">
                         <Image Source="{StaticResource CreateDocumentIcon}" Height="30" Width="30"></Image>
-                        <TextBlock Margin="12,0,0,0" VerticalAlignment="Center" Text="Create a New File" Foreground="#001A4E" FontFamily="Segoe UI" FontSize="16" LineHeight="24"></TextBlock>
+                        <TextBlock Margin="12,0,0,0" VerticalAlignment="Center" Text="Create a New File" Foreground="#001A4E" FontFamily="Microsoft YaHei" FontSize="16" LineHeight="24"></TextBlock>
                     </StackPanel>
                 </Button>
             </StackPanel>

+ 4 - 4
Demo/Examples/Compdfkit_Tools/Common/HomePage/RecentFilesControl.xaml

@@ -82,7 +82,7 @@
             <RowDefinition Height="Auto"/>
             <RowDefinition Height="*"/>
         </Grid.RowDefinitions>
-        <TextBlock Text="Quick Start" Background="Transparent" Margin="0,0,0,25" Height="32" FontFamily="Segoe UI" FontSize="24" LineHeight="32" Foreground="#001A4E" FontWeight="DemiBold"></TextBlock>
+        <TextBlock Text="Quick Start" Background="Transparent" Margin="0,0,0,25" Height="32" FontFamily="Microsoft YaHei" FontSize="24" LineHeight="32" Foreground="#001A4E" FontWeight="DemiBold"></TextBlock>
         <ListView Grid.Row="1" x:Name="HistoryListView" MinWidth="380"
                   ScrollViewer.HorizontalScrollBarVisibility="Disabled" 
                   Style="{StaticResource HistoryListBoxStyle}" ItemsSource="{Binding History}" 
@@ -108,12 +108,12 @@
 
                         <StackPanel Grid.Column="1" Orientation="Vertical" Margin="5">
                             <TextBlock Text="{Binding FileName}" TextTrimming="CharacterEllipsis" Foreground="#001A4E" FontFamily="SF Pro" FontSize="16" LineHeight="21"/>
-                            <TextBlock Text="{Binding FilePath}" TextTrimming="CharacterEllipsis" Foreground="#666" FontFamily="Segoe UI" FontSize="12" LineHeight="16"/>
+                            <TextBlock Text="{Binding FilePath}" TextTrimming="CharacterEllipsis" Foreground="#666" FontFamily="Microsoft YaHei" FontSize="12" LineHeight="16"/>
                         </StackPanel>
 
-                        <TextBlock Grid.Column="2" Margin="20,0,0,0" VerticalAlignment="Center" Text="{Binding OpenDate}" TextTrimming="CharacterEllipsis" Foreground="#666" FontFamily="Segoe UI" FontSize="14" LineHeight="20"/>
+                        <TextBlock Grid.Column="2" Margin="20,0,0,0" VerticalAlignment="Center" Text="{Binding OpenDate}" TextTrimming="CharacterEllipsis" Foreground="#666" FontFamily="Microsoft YaHei" FontSize="14" LineHeight="20"/>
 
-                        <TextBlock Grid.Column="3" Margin="20,0,0,0" VerticalAlignment="Center" Text="{Binding FileSize}" TextTrimming="CharacterEllipsis" Foreground="#666" FontFamily="Segoe UI" FontSize="14" LineHeight="20"/>
+                        <TextBlock Grid.Column="3" Margin="20,0,0,0" VerticalAlignment="Center" Text="{Binding FileSize}" TextTrimming="CharacterEllipsis" Foreground="#666" FontFamily="Microsoft YaHei" FontSize="14" LineHeight="20"/>
                     </Grid>
                 </DataTemplate>
             </ListView.ItemTemplate>

+ 3 - 3
Demo/Examples/Compdfkit_Tools/Common/PreviewControl/PreviewControl.xaml

@@ -57,7 +57,7 @@
             <RowDefinition Height="auto"></RowDefinition>
         </Grid.RowDefinitions>
         <Grid Margin="0,0,0,10">
-            <TextBlock Text="Preview" FontWeight="DemiBold" FontFamily="Segoe UI" FontSize="14"></TextBlock>
+            <TextBlock Text="Preview" FontWeight="DemiBold" FontFamily="Microsoft YaHei" FontSize="14"></TextBlock>
             <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
                 <Button x:Name="ZoomInBtn" Height="20" Width="20" Style="{StaticResource TransparentButtonStyle}" Margin="0,0,10,0" Click="ScaleBtn_Click">
                     <Path HorizontalAlignment="Center" VerticalAlignment="Center" Data="M0,6.5 C0,2.91015 2.91015,0 6.5,0 C10.0899,0 13,2.91015 13,6.5 C13,8.12212 12.4058,9.60545 11.4232,10.7442 L15.5,14.821 L14.821,15.5 L10.7442,11.4232 C9.60545,12.4058 8.12212,13 6.5,13 C2.91015,13 0,10.0899 0,6.5 Z M12,6.5 C12,3.46243 9.53757,1 6.5,1 C3.46243,1 1,3.46243 1,6.5 C1,9.53757 3.46243,12 6.5,12 C9.53757,12 12,9.53757 12,6.5 Z M10,6 V7 H3 V6 H10 Z" 
@@ -84,8 +84,8 @@
               Fill="Black" />
             </Button>
             <TextBox x:Name="CurrentIndexTxt" Text="{Binding CurrentIndex, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" Height="32" Width="48" Margin="0,0,8,0" PreviewTextInput="CurrentIndexTxt_PreviewTextInput" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"  InputMethod.IsInputMethodEnabled="False" CommandManager.CanExecute="CurrentIndexTxt_CanExecute"></TextBox>
-            <TextBlock Text="/" FontSize="14" VerticalAlignment="Center" FontFamily="Segoe UI"></TextBlock>
-            <TextBlock Text="{Binding PageCount}" Margin="5,0,0,0" FontSize="14" VerticalAlignment="Center" FontFamily="Segoe UI"></TextBlock>
+            <TextBlock Text="/" FontSize="14" VerticalAlignment="Center" FontFamily="Microsoft YaHei"></TextBlock>
+            <TextBlock Text="{Binding PageCount}" Margin="5,0,0,0" FontSize="14" VerticalAlignment="Center" FontFamily="Microsoft YaHei"></TextBlock>
             <Button x:Name="NextPageBtn" Height="28" Width="28"  Margin="16,0,0,0" Style="{StaticResource PageButtonStyle}"  Click="PageBtn_Click">
                 <Path Height="16" Width="16" Data="M6.20223 14L5.5 13.2733L10.5955 8L5.5 2.72673L6.20223 2L12 8L6.20223 14Z" 
               Fill="Black" />

+ 19 - 0
Demo/Examples/Compdfkit_Tools/Compdfkit_Tools.csproj

@@ -148,6 +148,7 @@
       <DependentUpon>DeviceSerialControl.xaml</DependentUpon>
     </Compile>
     <Compile Include="Common\Helper\FileHistoryHelper.cs" />
+    <Compile Include="Common\Helper\LanguageHelper.cs" />
     <Compile Include="Common\Helper\PasswordHelper.cs" />
     <Compile Include="Common\PasswordControl\PasswordBoxControl.xaml.cs">
       <DependentUpon>PasswordBoxControl.xaml</DependentUpon>
@@ -507,10 +508,28 @@
       <DependentUpon>WatermarkOperationTypeDialog.xaml</DependentUpon>
     </Compile>
     <Compile Include="Security\Watermark\AddWatermark\WatermarkPreviewControl.cs" />
+    <Compile Include="Strings\Resources.Designer.cs">
+      <DesignTime>True</DesignTime>
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <Compile Include="Strings\Resources.zh-CN.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>Resources.zh-CN.resx</DependentUpon>
+    </Compile>
     <EmbeddedResource Include="Properties\Resources.resx">
       <Generator>ResXFileCodeGenerator</Generator>
       <LastGenOutput>Resources.Designer.cs</LastGenOutput>
     </EmbeddedResource>
+    <EmbeddedResource Include="Strings\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Strings\Resources.zh-CN.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.zh-CN.Designer.cs</LastGenOutput>
+    </EmbeddedResource>
     <None Include="app.config" />
     <None Include="packages.config" />
     <None Include="Properties\Settings.settings">

+ 4 - 4
Demo/Examples/Compdfkit_Tools/DigitalSignature/AddCertificationControl/AddCertificationControl.xaml

@@ -23,7 +23,7 @@
             <RowDefinition Height="Auto" />
             <RowDefinition Height="Auto" />
         </Grid.RowDefinitions>
-        <Label Grid.Row="0" Content="Select a type of Digital ID:" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold" Padding="0,4,0,4" Width="187" HorizontalAlignment="Left"></Label>
+        <Label Grid.Row="0" Content="Select a type of Digital ID:" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold" Padding="0,4,0,4" Width="187" HorizontalAlignment="Left"></Label>
         <style:TCIRadioButton Style="{StaticResource TCIRadioButtonStyle}" IsChecked="{Binding AddExistedCertification}" Grid.Row="1" Height="80" Title="Use a Digital ID from a file" Description="Import an existing Digital ID that you have obtained as a file" BorderBrush="Black" TextWidth="320" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="0,10,0,10">
                 <Grid  Width="32" Height="32">
                     <Path Data="M4 2.84375C4 2.37776 4.37776 2 4.84375 2L19.1449 2C19.3736 2 19.5925 2.09282 19.7515 2.25721L24.9771 7.66095C25.1292 7.81829 25.2143 8.02861 25.2143 8.24749V28.1562C25.2143 28.6222 24.8365 29 24.3705 29H4.84375C4.37776 29 4 28.6222 4 28.1562L4 2.84375Z" Fill="#F5F6FC" Stroke="#CED4F2"/>
@@ -46,10 +46,10 @@
         </style:TCIRadioButton>
 
         <StackPanel Grid.Row="3" Margin="10,20,10,20" Width="407">
-            <TextBlock  FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2" Padding="12,10,12,10"
+            <TextBlock  FontSize="12" FontFamily="Microsoft YaHei" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2" Padding="12,10,12,10"
                            Text="A digital ID is required to create a digital signature. The most secure Digital ID is issued by trusted Certificate authorities and is based on secure devices like smart cards or tokens. Some are based on a file."/>
-            <TextBlock  FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2"/>
-            <TextBlock  FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2" Padding="12,10,12,10"
+            <TextBlock  FontSize="12" FontFamily="Microsoft YaHei" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2"/>
+            <TextBlock  FontSize="12" FontFamily="Microsoft YaHei" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2" Padding="12,10,12,10"
                            Text="You can create a new Digital ID, but they provide a low level of identity assurance."/>
         </StackPanel>
         <StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right">

+ 3 - 3
Demo/Examples/Compdfkit_Tools/DigitalSignature/AddCertificationControl/AddExistedCertificationControl.xaml

@@ -21,15 +21,15 @@
                    Text="Browse a digital ID file. Digital ID cards are password-protected. If you do not know the password, you cannot obtain a digital ID card.">
         </TextBlock>
         <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,0,10,8">
-            <TextBlock Text="Certificate File" Foreground="#43474D" FontSize="14" VerticalAlignment="Center" Margin="10,0,10,0" HorizontalAlignment="Left" Width="88" FontFamily="Segoe UI"></TextBlock>
+            <TextBlock Text="Certificate File" Foreground="#43474D" FontSize="14" VerticalAlignment="Center" Margin="10,0,10,0" HorizontalAlignment="Left" Width="88" FontFamily="Microsoft YaHei"></TextBlock>
             <Grid IsEnabled="{Binding InputEnable}">
                 <TextBox Width="238" Height="28"  x:Name="FileNameTxt" VerticalContentAlignment="Center" VerticalAlignment="Center" IsReadOnly="True" TextChanged="FileNameTxt_OnTextChanged"/>
                 <TextBlock Text="Select a file" Margin="8" VerticalAlignment="Center"   Visibility="{Binding ElementName=FileNameTxt, Path=Text, Converter={StaticResource TextLengthToVisibilityConverter}}" IsHitTestVisible="False"  Foreground="#BBB"></TextBlock>
             </Grid>
-            <Button x:Name="SelectFileBtn" Content="Upload" Width="90" Height="28" FontSize="14" FontFamily="Segoe UI" Margin="8,0,0,0" Click="SelectFileBtn_Click"></Button>
+            <Button x:Name="SelectFileBtn" Content="Upload" Width="90" Height="28" FontSize="14" FontFamily="Microsoft YaHei" Margin="8,0,0,0" Click="SelectFileBtn_Click"></Button>
         </StackPanel>
         <StackPanel Grid.Row="2" Orientation="Horizontal"  Margin="10,0,0,8">
-            <TextBlock Foreground="#43474D" Width="88" FontSize="14" FontFamily="Segoe UI" Text="Password" VerticalAlignment="Top" Margin="10,5,10,0"></TextBlock>
+            <TextBlock Foreground="#43474D" Width="88" FontSize="14" FontFamily="Microsoft YaHei" Text="Password" VerticalAlignment="Top" Margin="10,5,10,0"></TextBlock>
             <StackPanel  Margin="0,0,0,0">
                 <Grid>
                     <PasswordBox Name="PasswordBoxTxt" Padding="5,0,0,0" Width="238" Height="28"  VerticalContentAlignment="Center" VerticalAlignment="Center" PasswordChanged="PasswordBoxTxt_OnPasswordChanged"></PasswordBox>

+ 4 - 4
Demo/Examples/Compdfkit_Tools/DigitalSignature/AddCertificationControl/SaveCerficateControl.xaml

@@ -23,15 +23,15 @@
                    Text="Save the Self-Signed Digital ID to A File">
         </TextBlock>
         <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,0,0,8">
-            <TextBlock Text="Save Location" Foreground="#43474D" FontSize="14" VerticalAlignment="Center" Margin="10,0,10,0" HorizontalAlignment="Left" Width="135" FontFamily="Segoe UI"></TextBlock>
+            <TextBlock Text="Save Location" Foreground="#43474D" FontSize="14" VerticalAlignment="Center" Margin="10,0,10,0" HorizontalAlignment="Left" Width="135" FontFamily="Microsoft YaHei"></TextBlock>
             <Grid>
                 <TextBox Width="258" Height="28"  x:Name="FileNameText" VerticalContentAlignment="Center" VerticalAlignment="Center" IsReadOnly="True" Text="{Binding FilePath, Mode =TwoWay}"/>
                 <TextBlock Text="Select a file" Margin="8" VerticalAlignment="Center"   Visibility="{Binding ElementName=FileNameText, Path=Text, Converter={StaticResource TextLengthToVisibilityConverter}}" IsHitTestVisible="False"  Foreground="#BBB"></TextBlock>
             </Grid>
-            <Button x:Name="SelectFileBtn" Content="Browse" Width="90" Height="28" FontSize="14" FontFamily="Segoe UI" Margin="8,0,0,0" Click="SelectFileBtn_Click"></Button>
+            <Button x:Name="SelectFileBtn" Content="Browse" Width="90" Height="28" FontSize="14" FontFamily="Microsoft YaHei" Margin="8,0,0,0" Click="SelectFileBtn_Click"></Button>
         </StackPanel>
         <StackPanel Grid.Row="2" Orientation="Horizontal"  Margin="10,0,0,8">
-            <TextBlock Foreground="#43474D" Width="135" FontSize="14" FontFamily="Segoe UI" Text="Set A Password" VerticalAlignment="Top" Margin="10,5,10,0"></TextBlock>
+            <TextBlock Foreground="#43474D" Width="135" FontSize="14" FontFamily="Microsoft YaHei" Text="Set A Password" VerticalAlignment="Top" Margin="10,5,10,0"></TextBlock>
             <Grid>
                 <PasswordBox Name="SetPasswordPbx" Padding="5,0,0,0" Width="258" Height="28" VerticalContentAlignment="Center" VerticalAlignment="Center" PasswordChanged="SetPasswordPbx_OnPasswordChanged"></PasswordBox>
                 <TextBlock x:Name="PasswordTextBlock" Text="Please enter your password" Margin="8" VerticalAlignment="Center" IsHitTestVisible="False" Foreground="#BBB"></TextBlock>
@@ -39,7 +39,7 @@
 
         </StackPanel>
         <StackPanel Grid.Row="3" Orientation="Horizontal"  Margin="10,0,0,8">
-            <TextBlock Foreground="#43474D" Width="135" FontSize="14" FontFamily="Segoe UI" Text="Confirm the Password" VerticalAlignment="Top" Margin="10,5,10,0"></TextBlock>
+            <TextBlock Foreground="#43474D" Width="135" FontSize="14" FontFamily="Microsoft YaHei" Text="Confirm the Password" VerticalAlignment="Top" Margin="10,5,10,0"></TextBlock>
             <Grid>
                 <PasswordBox Name="ConfirmPasswordPbx" Padding="5,0,0,0" Width="258" Height="28"  VerticalContentAlignment="Center" VerticalAlignment="Center" PasswordChanged="ConfirmPasswordPbx_OnPasswordChanged"></PasswordBox>
                 <TextBlock x:Name="ConfirmPasswordTextBlock" Text="Enter the password again" Margin="8" VerticalAlignment="Center" IsHitTestVisible="False" Foreground="#BBB"></TextBlock>

+ 1 - 1
Demo/Examples/Compdfkit_Tools/DigitalSignature/SignatureStatusBarControl/SignatureStatusBarControl.xaml

@@ -42,7 +42,7 @@
                 </Viewbox>
             </Border>
         </Grid>
-        <TextBlock Grid.Column="1" Text="{Binding MessageString}" VerticalAlignment="Center" FontSize="14" FontFamily="Segoe UI"></TextBlock>
+        <TextBlock Grid.Column="1" Text="{Binding MessageString}" VerticalAlignment="Center" FontSize="14" FontFamily="Microsoft YaHei"></TextBlock>
         <Button Grid.Column="2" Height="32" Width="128" HorizontalAlignment="Right" Margin="10" BorderBrush="#1460F3" Foreground="#1460F3" Content="View All Signatures" Background="#DDE9FF" Click="ButtonViewSignature_OnClick"></Button>
     </Grid>
 </UserControl>

+ 2 - 2
Demo/Examples/Compdfkit_Tools/DigitalSignature/VerifyDigitalSignatureControl/DigitalSignatureInfoControl.xaml

@@ -47,7 +47,7 @@
                 </Viewbox>
             </Border>
         </Grid>
-        <TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding SignerInfo}" FontSize="16" FontFamily="Segoe UI" Foreground="#43474D"></TextBlock>
-        <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding TimeInfo}" FontSize="14" FontFamily="Segoe UI" Foreground="#43474D"></TextBlock>
+        <TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding SignerInfo}" FontSize="16" FontFamily="Microsoft YaHei" Foreground="#43474D"></TextBlock>
+        <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding TimeInfo}" FontSize="14" FontFamily="Microsoft YaHei" Foreground="#43474D"></TextBlock>
     </Grid>
 </UserControl>

+ 1 - 1
Demo/Examples/Compdfkit_Tools/DigitalSignature/VerifyDigitalSignatureControl/DigitalSignatureValiditySummaaryControl.xaml

@@ -8,7 +8,7 @@
              d:DesignHeight="239" d:DesignWidth="504">
     <Grid>
         <Grid Background="#ffffff"  Margin="20,0,0,0"  Panel.ZIndex="1" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top">
-            <TextBlock Text="Validity Summary" FontWeight="Bold" FontSize="14" FontFamily="Segoe UI"></TextBlock>
+            <TextBlock Text="Validity Summary" FontWeight="Bold" FontSize="14" FontFamily="Microsoft YaHei"></TextBlock>
         </Grid>
         <Border Grid.Row="0" Margin="12" BorderBrush="#CCCCCC" BorderThickness="1">
             <TextBlock Margin="10" Text="{Binding ValiditySummaryString}" Width="448" TextWrapping="Wrap"></TextBlock>

+ 1 - 1
Demo/Examples/Compdfkit_Tools/DigitalSignature/VerifyDigitalSignatureControl/VerifyDigitalSignatureControl.xaml

@@ -18,6 +18,6 @@
         <local:DigitalSignatureInfoControl x:Name="DigitalSignatureInfoControl" Height="52" Margin="0,30,0,10"></local:DigitalSignatureInfoControl>
         <local:DigitalSignatureValiditySummaaryControl x:Name="DigitalSignatureValiditySummaryControl" Grid.Row="1" Height="239" Margin="0,10,0,10"></local:DigitalSignatureValiditySummaaryControl>
         
-        <Button Grid.Row="3" Height="32" Width="158" HorizontalAlignment="Right" Content="View signer certificates" Margin="12" Click="ViewCertificates_OnClick" FontSize="14" FontFamily="Segoe UI"></Button>
+        <Button Grid.Row="3" Height="32" Width="158" HorizontalAlignment="Right" Content="View signer certificates" Margin="12" Click="ViewCertificates_OnClick" FontSize="14" FontFamily="Microsoft YaHei"></Button>
     </Grid>
 </Window>

+ 7 - 7
Demo/Examples/Compdfkit_Tools/Form/Property/CheckBoxProperty.xaml

@@ -23,7 +23,7 @@
         </Grid.RowDefinitions>
         <Border BorderThickness="0" BorderBrush="#1A000000">
             <Grid  Height="40" Background="White" >
-                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Check Box" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Check Box" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
             </Grid>
         </Border>
         <TabControl Grid.Row="1" Style="{DynamicResource TabControlStyle1}" BorderThickness="0">
@@ -36,11 +36,11 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel  >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <TextBox x:Name="FieldNameText" Margin="0,8,0,0" TextChanged="FieldNameText_TextChanged"/>
                         </StackPanel>
                         <StackPanel >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <ComboBox x:Name="FormFieldCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FormFieldCombox_SelectionChanged">
                                 <ComboBoxItem Content="Visible"/>
                                 <ComboBoxItem Content="Hidden"/>
@@ -60,11 +60,11 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BorderColorPickerControl" ColorChanged="BorderColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BackgroundColorPickerControl" ColorChanged="BackgroundColorPickerControl_ColorChanged"/>
                         </StackPanel>
                     </StackPanel>
@@ -79,7 +79,7 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel  >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Button Style" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Button Style" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <ComboBox x:Name="CheckButtonStyleCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="CheckButtonStyleCombox_SelectionChanged">
                                 <ComboBoxItem Content="Check"/>
                                 <ComboBoxItem Content="Circle"/>
@@ -90,7 +90,7 @@
                             </ComboBox>
                         </StackPanel>
                         <StackPanel >
-                            <CheckBox x:Name="chkSelected" Content="Selected by default" FontSize="14" VerticalContentAlignment="Center" FontFamily="Segoe UI" FontWeight="Bold" Margin="0 14 0 0" Checked="chkSelected_Checked"  Unchecked="chkSelected_Unchecked"/>
+                            <CheckBox x:Name="chkSelected" Content="Selected by default" FontSize="14" VerticalContentAlignment="Center" FontFamily="Microsoft YaHei" FontWeight="Bold" Margin="0 14 0 0" Checked="chkSelected_Checked"  Unchecked="chkSelected_Unchecked"/>
                         </StackPanel>
                     </StackPanel>
                 </Grid>

+ 9 - 9
Demo/Examples/Compdfkit_Tools/Form/Property/ComboBoxProperty.xaml

@@ -24,7 +24,7 @@
         </Grid.RowDefinitions>
         <Border BorderThickness="0" BorderBrush="#1A000000">
             <Grid  Height="40" Background="White" >
-                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Combo Box" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Combo Box" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
             </Grid>
         </Border>
         <TabControl x:Name="TopTabControl" Grid.Row="1" Style="{DynamicResource TabControlStyle1}" BorderThickness="0">
@@ -37,11 +37,11 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel  >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <TextBox x:Name="FieldNameText" Margin="0,8,0,0" TextChanged="FieldNameText_TextChanged"/>
                         </StackPanel>
                         <StackPanel >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <ComboBox x:Name="FormFieldCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FormFieldCombox_SelectionChanged">
                                 <ComboBoxItem Content="Visible"/>
                                 <ComboBoxItem Content="Hidden"/>
@@ -61,19 +61,19 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BorderColorPickerControl" ColorChanged="BorderColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BackgroundColorPickerControl" ColorChanged="BackgroundColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="TextColorPickerControl" ColorChanged="TextColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold" />
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold" />
                             <ComboBox x:Name="FontCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FontCombox_SelectionChanged">
                                 <ComboBoxItem Content="Arial"/>
                                 <ComboBoxItem Content="Courier New"/>
@@ -101,7 +101,7 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel>
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Item" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Item" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <StackPanel Orientation="Horizontal" Margin="0,12,0,0">
                                 <TextBox Name="txtItemInput" Width="192" Height="28" VerticalContentAlignment="Center" FontSize="14" HorizontalAlignment="Left" TextChanged="txtItemInput_TextChanged"/>
                                 <Button Name="btnAddItem" Margin="8,0,0,0" Width="20" Height="20"  Background="Transparent" IsEnabled="False" BorderThickness="1" HorizontalAlignment="Right"  Click="btnAddItem_Click" >
@@ -110,7 +110,7 @@
                             </StackPanel>
                         </StackPanel>
                         <StackPanel >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Item List" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Item List" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <StackPanel Orientation="Horizontal">
                                 <ListBox x:Name="itemsListBox" Margin="0,0,0,0" SelectionMode="Single" Height="96" HorizontalAlignment="Left" Width="192" SelectionChanged="itemsListBox_SelectionChanged"/>
                                 <StackPanel Height="96" Margin="8,0,0,0">

+ 9 - 9
Demo/Examples/Compdfkit_Tools/Form/Property/ListBoxProperty.xaml

@@ -25,7 +25,7 @@
         </Grid.RowDefinitions>
         <Border BorderThickness="0" BorderBrush="#1A000000">
             <Grid  Height="40" Background="White" >
-                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="ListBox" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="ListBox" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
             </Grid>
         </Border>
         <TabControl x:Name="TopTabControl" Grid.Row="1" Style="{DynamicResource TabControlStyle1}" BorderThickness="0">
@@ -38,11 +38,11 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel  >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <TextBox x:Name="FieldNameText" Margin="0,8,0,0" TextChanged="FieldNameText_TextChanged"/>
                         </StackPanel>
                         <StackPanel >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <ComboBox x:Name="FormFieldCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FormFieldCombox_SelectionChanged">
                                 <ComboBoxItem Content="Visible"/>
                                 <ComboBoxItem Content="Hidden"/>
@@ -62,19 +62,19 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BorderColorPickerControl" ColorChanged="BorderColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BackgroundColorPickerControl" ColorChanged="BackgroundColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="TextColorPickerControl" ColorChanged="TextColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold" />
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold" />
                             <ComboBox x:Name="FontCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FontCombox_SelectionChanged">
                                 <ComboBoxItem Content="Arial"/>
                                 <ComboBoxItem Content="Courier New"/>
@@ -102,7 +102,7 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel>
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Item" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Item" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <StackPanel Orientation="Horizontal" Margin="0,12,0,0">
                                 <TextBox Name="txtItemInput" Width="192" Height="28" VerticalContentAlignment="Center" FontSize="14" HorizontalAlignment="Left" TextChanged="txtItemInput_TextChanged"/>
                                 <Button Name="btnAddItem" Margin="8,0,0,0" Width="20" Height="20"  Background="Transparent" IsEnabled="False" BorderThickness="1" HorizontalAlignment="Right"  Click="btnAddItem_Click" >
@@ -111,7 +111,7 @@
                             </StackPanel>
                         </StackPanel>
                         <StackPanel >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Item List" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Item List" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <StackPanel Orientation="Horizontal">
                             <ListBox x:Name="itemsListBox" Margin="0,0,0,0" SelectionMode="Single" Height="96" HorizontalAlignment="Left" Width="192" SelectionChanged="itemsListBox_SelectionChanged"/>
                                 <StackPanel Height="96" Margin="8,0,0,0">

+ 9 - 9
Demo/Examples/Compdfkit_Tools/Form/Property/PushButtonProperty.xaml

@@ -41,7 +41,7 @@
         </Grid.RowDefinitions>
         <Border BorderThickness="0" BorderBrush="#1A000000">
             <Grid  Height="40" Background="White" >
-                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="PushButton" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="PushButton" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
             </Grid>
         </Border>
         <TabControl x:Name="TopTabControl" Grid.Row="1" Style="{DynamicResource TabControlStyle1}" BorderThickness="0">
@@ -54,11 +54,11 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel>
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <TextBox x:Name="FieldNameText" Margin="0,8,0,0" TextChanged="FieldNameText_TextChanged"/>
                         </StackPanel>
                         <StackPanel >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <ComboBox x:Name="FormFieldCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FormFieldCombox_SelectionChanged">
                                 <ComboBoxItem Content="Visible"/>
                                 <ComboBoxItem Content="Hidden"/>
@@ -78,19 +78,19 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BorderColorPickerControl" ColorChanged="BorderColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BackgroundColorPickerControl" ColorChanged="BackgroundColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="TextColorPickerControl" ColorChanged="TextColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold" />
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold" />
                             <ComboBox x:Name="FontCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FontCombox_SelectionChanged">
                                 <ComboBoxItem Content="Arial"/>
                                 <ComboBoxItem Content="Courier New"/>
@@ -118,11 +118,11 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                     <StackPanel>
-                        <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Value Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                        <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Value Text" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <TextBox x:Name="ItemText" Margin="0,8,0,0" TextChanged="ItemText_TextChanged"/>
                     </StackPanel>
                         <StackPanel>
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Effect after selection" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Effect after selection" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <ComboBox x:Name="TextAlignmentCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="TextAlignmentCombox_SelectionChanged">
                                 <ComboBoxItem Content="None"/>
                                 <ComboBoxItem Content="Go To Pages"/>

+ 7 - 7
Demo/Examples/Compdfkit_Tools/Form/Property/RadioButtonProperty.xaml

@@ -24,7 +24,7 @@
         </Grid.RowDefinitions>
         <Border BorderThickness="0" BorderBrush="#1A000000">
             <Grid  Height="40" Background="White" >
-                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Radio Button" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Radio Button" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
             </Grid>
         </Border>
         <TabControl Grid.Row="1" Style="{DynamicResource TabControlStyle1}" BorderThickness="0">
@@ -47,11 +47,11 @@
                     </Grid>
                     <StackPanel Grid.Column="1" Grid.Row="1">
                         <StackPanel  >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <TextBox x:Name="FieldNameText" Margin="0,8,0,0" TextChanged="FieldNameText_TextChanged"/>
                         </StackPanel>
                         <StackPanel >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <ComboBox x:Name="FormFieldCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FormFieldCombox_SelectionChanged">
                                 <ComboBoxItem Content="Visible"/>
                                 <ComboBoxItem Content="Hidden"/>
@@ -76,11 +76,11 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BorderColorPickerControl" ColorChanged="BorderColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BackgroundColorPickerControl" ColorChanged="BackgroundColorPickerControl_ColorChanged"/>
                         </StackPanel>
                     </StackPanel>
@@ -95,7 +95,7 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel  >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Button Style" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Button Style" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <ComboBox x:Name="RadioButtonStyleCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="RadioButtonStyleCombox_SelectionChanged">
                                 <ComboBoxItem Content="Check"/>
                                 <ComboBoxItem Content="Circle"/>
@@ -106,7 +106,7 @@
                             </ComboBox>
                         </StackPanel>
                         <StackPanel >
-                            <CheckBox x:Name="chkSelected" Content="Selected by default" FontSize="14" VerticalContentAlignment="Center" FontFamily="Segoe UI" FontWeight="Bold" Margin="0 14 0 0" Checked="chkSelected_Checked"  Unchecked="chkSelected_Unchecked"/>
+                            <CheckBox x:Name="chkSelected" Content="Selected by default" FontSize="14" VerticalContentAlignment="Center" FontFamily="Microsoft YaHei" FontWeight="Bold" Margin="0 14 0 0" Checked="chkSelected_Checked"  Unchecked="chkSelected_Unchecked"/>
                         </StackPanel>
                     </StackPanel>
                 </Grid>

+ 2 - 2
Demo/Examples/Compdfkit_Tools/Form/Property/SignatureProperty.xaml

@@ -22,7 +22,7 @@
         </Grid.RowDefinitions>
         <Border BorderThickness="0" BorderBrush="#1A000000">
             <Grid  Height="40" Background="White" >
-                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Signature" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Signature" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
             </Grid>
         </Border>
         <Grid Grid.Row="1">
@@ -33,7 +33,7 @@
             </Grid.ColumnDefinitions>
 
             <StackPanel Grid.Column="1">
-                <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                 <ComboBox x:Name="FormFieldCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FormFieldCombox_SelectionChanged">
                     <ComboBoxItem Content="Visible"/>
                     <ComboBoxItem Content="Hidden"/>

+ 9 - 9
Demo/Examples/Compdfkit_Tools/Form/Property/TextFieldProperty.xaml

@@ -24,7 +24,7 @@
         </Grid.RowDefinitions>
         <Border BorderThickness="0" BorderBrush="#1A000000">
             <Grid  Height="40" Background="White" >
-                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Text Field" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Text Field" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
             </Grid>
         </Border>
         <TabControl Grid.Row="1" Style="{DynamicResource TabControlStyle1}" BorderThickness="0">
@@ -37,11 +37,11 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel  >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <TextBox x:Name="FieldNameText" Margin="0,8,0,0" TextChanged="FieldNameText_TextChanged"/>
                         </StackPanel>
                         <StackPanel >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Form Field" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <ComboBox x:Name="FormFieldCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FormFieldCombox_SelectionChanged">
                                 <ComboBoxItem Content="Visible"/>
                                 <ComboBoxItem Content="Hidden"/>
@@ -61,19 +61,19 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Border Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BorderColorPickerControl" ColorChanged="BorderColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Background Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="BackgroundColorPickerControl" ColorChanged="BackgroundColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text Color" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text Color" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <cpdfcommon:ColorPickerControl Margin="0,18,0,0" x:Name="TextColorPickerControl" ColorChanged="TextColorPickerControl_ColorChanged"/>
                         </StackPanel>
                         <StackPanel>
-                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold" />
+                            <TextBlock  Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold" />
                             <ComboBox x:Name="FontCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FontCombox_SelectionChanged">
                                 <ComboBoxItem Content="Arial"/>
                                 <ComboBoxItem Content="Courier New"/>
@@ -101,7 +101,7 @@
                     </Grid.ColumnDefinitions>
                     <StackPanel Grid.Column="1">
                         <StackPanel  >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text alignment" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text alignment" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <ComboBox x:Name="TextAlignmentCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="TextAlignmentCombox_SelectionChanged">
                                 <ComboBoxItem Content="Left Alignment"/>
                                 <ComboBoxItem Content="Center"/>
@@ -109,7 +109,7 @@
                             </ComboBox>
                         </StackPanel>
                         <StackPanel >
-                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Default Value" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold"/>
+                            <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Default Value" FontSize="14" FontFamily="Microsoft YaHei" FontWeight="Bold"/>
                             <TextBox x:Name="DefaultText" Margin="0,8,0,0"  Width="224" Height="112" AcceptsReturn="True" TextWrapping="Wrap" TextChanged="DefaultText_TextChanged"/>
                             <CheckBox x:Name="chkMutiline" Content="Muti-Line" FontSize="14" VerticalContentAlignment="Center" Margin="0 14 0 0" Checked="chkMutiline_Checked" Unchecked="chkMutiline_Unchecked"/>
                         </StackPanel>

+ 2 - 2
Demo/Examples/Compdfkit_Tools/PDFView/PDFBookmark/PDFBookmarkUI/CPDFBookmarkResultUI.xaml

@@ -24,9 +24,9 @@
                             <StackPanel Background="#EFF4FF" Height="30" Orientation="Horizontal">
                                 
                                 <TextBlock Padding="16,4,0,4" FontWeight="SemiBold" FontSize="12"  
-                                           FontFamily="Segoe UI" Foreground="#43474D ">Page</TextBlock>
+                                           FontFamily="Microsoft YaHei" Foreground="#43474D ">Page</TextBlock>
                                 <TextBlock  HorizontalAlignment="Left" Padding="10,4,0,4"
-                                           FontWeight="SemiBold" FontSize="12"  FontFamily="Segoe UI" Foreground="#43474D" Text="{Binding Name}">
+                                           FontWeight="SemiBold" FontSize="12"  FontFamily="Microsoft YaHei" Foreground="#43474D" Text="{Binding Name}">
                                 </TextBlock>
                                 
                             </StackPanel>

+ 2 - 2
Demo/Examples/Compdfkit_Tools/PDFView/PDFSearch/PDFSearchUI/CPDFSearchResultUI.xaml

@@ -21,7 +21,7 @@
                         <DataTemplate>
                             <StackPanel Background="White" Height="24">
                                 <TextBlock Padding="0,4,12,4" VerticalAlignment="Stretch" TextAlignment="Center" HorizontalAlignment="Right" 
-                                           FontWeight="SemiBold" FontSize="12" Text="{Binding Name}" FontFamily="Segoe UI" Foreground="#666666 "/>
+                                           FontWeight="SemiBold" FontSize="12" Text="{Binding Name}" FontFamily="Microsoft YaHei" Foreground="#666666 "/>
                             </StackPanel>
                         </DataTemplate>
                     </GroupStyle.HeaderTemplate>
@@ -42,7 +42,7 @@
             <ListView.ItemTemplate>
                 <ItemContainerTemplate>
                     <StackPanel>
-                        <RichTextBox Background="Transparent" Foreground="#000000" FontFamily="Segoe UI" FontSize="14" IsReadOnly="True" BorderThickness="0" 
+                        <RichTextBox Background="Transparent" Foreground="#000000" FontFamily="Microsoft YaHei" FontSize="14" IsReadOnly="True" BorderThickness="0" 
                                      Padding="12,6,10,6" local:SearchResultBindHelper.DocumentBind="{Binding BindProperty}" 
                                       Width="{Binding ElementName=ResultListControl,Path=ActualWidth,Converter={StaticResource ListViewWidthConverter}}"
                                      VerticalContentAlignment="Center" VerticalAlignment="Center" IsHitTestVisible="False" >

+ 1 - 1
Demo/Examples/Compdfkit_Tools/PageEdit/PDFPageExtract/CPDFPageExtractUI.xaml

@@ -44,7 +44,7 @@
                     </StackPanel>
                 </StackPanel>
             </Border>
-            <TextBlock Text="Page Range" FontFamily="Segoe UI" Margin="40,-1,0,0" Background="White" Width="70" Height="16" VerticalAlignment="Top" HorizontalAlignment="Left" FontWeight="Bold"></TextBlock>
+            <TextBlock Text="Page Range" FontFamily="Microsoft YaHei" Margin="40,-1,0,0" Background="White" Width="70" Height="16" VerticalAlignment="Top" HorizontalAlignment="Left" FontWeight="Bold"></TextBlock>
         </Grid>
         <Grid Grid.Row="2">
             <StackPanel Margin="42,10,0,0">

+ 2 - 2
Demo/Examples/Compdfkit_Tools/PageEdit/PDFPageInsert/CPDFPageInsertUI.xaml

@@ -64,7 +64,7 @@
                     </Grid>
                 </Grid>
             </Border>
-            <TextBlock Text="Page Insert" FontFamily="Segoe UI" Margin="40,0,0,0" Background="White" Width="70" Height="16" VerticalAlignment="Top" HorizontalAlignment="Left" FontWeight="Bold"></TextBlock>
+            <TextBlock Text="Page Insert" FontFamily="Microsoft YaHei" Margin="40,0,0,0" Background="White" Width="70" Height="16" VerticalAlignment="Top" HorizontalAlignment="Left" FontWeight="Bold"></TextBlock>
         </Grid>
         <Grid Grid.Row="2">
             <Border BorderBrush="#1A000000" BorderThickness="1" Width="382" Height="184">
@@ -96,7 +96,7 @@
                     </StackPanel>
                 </Grid>
             </Border>
-            <TextBlock Text="Page Insert Location" FontFamily="Segoe UI" Margin="40,-4,0,0" Background="White" Width="120" Height="16" VerticalAlignment="Top" HorizontalAlignment="Left" FontWeight="Bold"></TextBlock>
+            <TextBlock Text="Page Insert Location" FontFamily="Microsoft YaHei" Margin="40,-4,0,0" Background="White" Width="120" Height="16" VerticalAlignment="Top" HorizontalAlignment="Left" FontWeight="Bold"></TextBlock>
         </Grid>
         <StackPanel HorizontalAlignment="Right" Grid.Row="3" Orientation="Horizontal" Margin="0,0,25,0">
             <Button x:Name="CancelButton" Height="32" Width="112" Click="CancelButton_Click">

+ 4 - 4
Demo/Examples/Compdfkit_Tools/Security/Encryption/DecryptionDialog.xaml

@@ -18,15 +18,15 @@
         <local:FileGridListControl x:Name="FileListControl" Width="496" Height="420"/>
         
         <StackPanel Grid.Row="1" Margin="20,20,20,0">
-            <TextBlock FontFamily="Segoe UI" FontSize="12" TextWrapping="Wrap" 
+            <TextBlock FontFamily="Microsoft YaHei" FontSize="12" TextWrapping="Wrap" 
                        Text="PDF Password Remover is an easy-to-use PDF security remover,which helps users decrypt PDF protections and remove restrictions on printing,editing and copying."></TextBlock>
-            <TextBlock FontFamily="Segoe UI" FontSize="12" TextWrapping="Wrap" Margin="0,10,0,10"
+            <TextBlock FontFamily="Microsoft YaHei" FontSize="12" TextWrapping="Wrap" Margin="0,10,0,10"
                        Text="If open password is required,you need to enter the right password first and then remove protections from PDF files."></TextBlock>
         </StackPanel>
         
         <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
-            <Button Width="112" Height="32" FontFamily="Segoe UI" FontSize="14" Content="Remove" Click="Remove_Click" IsEnabled="{Binding  ElementName=FileListControl,Path=IsEnsure}"></Button>
-            <Button Width="112" Height="32" FontFamily="Segoe UI" FontSize="14" Content="Cancel" Margin="10,0,10,0" Click="Cancel_Click"></Button>
+            <Button Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Content="Remove" Click="Remove_Click" IsEnabled="{Binding  ElementName=FileListControl,Path=IsEnsure}"></Button>
+            <Button Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Content="Cancel" Margin="10,0,10,0" Click="Cancel_Click"></Button>
         </StackPanel>
     </Grid>
 </Window>

+ 7 - 7
Demo/Examples/Compdfkit_Tools/Security/Encryption/FileGridListControl.xaml

@@ -30,11 +30,11 @@
         </Grid.RowDefinitions>
         
         <DockPanel Grid.Row="0" Grid.Column="0">
-            <Button Content="Add Files" Height="32" Width="112" FontFamily="Segoe UI" FontSize="14" Padding="28,6,27,6" HorizontalAlignment="Left" Click="AddFiles_Click"></Button>
+            <Button Content="Add Files" Height="32" Width="112" FontFamily="Microsoft YaHei" FontSize="14" Padding="28,6,27,6" HorizontalAlignment="Left" Click="AddFiles_Click"></Button>
             <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
-                <TextBlock Text="Total " FontFamily="Segoe UI" FontSize="14"></TextBlock>
-                <TextBlock FontFamily="Segoe UI" FontSize="14" Text="{Binding FileNumText}" ></TextBlock>
-                <TextBlock Text=" Files" FontFamily="Segoe UI" FontSize="14"></TextBlock>
+                <TextBlock Text="Total " FontFamily="Microsoft YaHei" FontSize="14"></TextBlock>
+                <TextBlock FontFamily="Microsoft YaHei" FontSize="14" Text="{Binding FileNumText}" ></TextBlock>
+                <TextBlock Text=" Files" FontFamily="Microsoft YaHei" FontSize="14"></TextBlock>
             </StackPanel>
         </DockPanel>
         
@@ -60,11 +60,11 @@
                              </Style>
                              <Style TargetType="DataGridColumnHeader">
                                  <Setter Property="Foreground" Value="#666666" />
-                                 <Setter Property="FontFamily" Value="Segoe UI" />
+                                 <Setter Property="FontFamily" Value="Microsoft YaHei" />
                                  <Setter Property="FontSize" Value="12" />
                              </Style>
                              <Style TargetType="DataGridCell">
-                                 <Setter Property="FontFamily" Value="Segoe UI" />
+                                 <Setter Property="FontFamily" Value="Microsoft YaHei" />
                                  <Setter Property="FontSize" Value="12" />
                                  <Setter Property="Foreground" Value="#666666" />
                                  <Setter Property="BorderThickness" Value="0"></Setter>
@@ -78,7 +78,7 @@
                          </DataGrid.Resources>
                      </DataGrid>
                 </Grid>
-                <Button Grid.Row="1" x:Name="BtnRemove" FontFamily="Segoe UI" FontSize="14" Content="Remove All" Width="112" Height="32" HorizontalAlignment="Left" Click="Remove_Click"></Button>
+                <Button Grid.Row="1" x:Name="BtnRemove" FontFamily="Microsoft YaHei" FontSize="14" Content="Remove All" Width="112" Height="32" HorizontalAlignment="Left" Click="Remove_Click"></Button>
             </Grid>
         </Border>
     </Grid>

+ 5 - 5
Demo/Examples/Compdfkit_Tools/Security/Encryption/SecurityOperationTypeDialog.xaml

@@ -22,7 +22,7 @@
             <RowDefinition Height="40"></RowDefinition>
         </Grid.RowDefinitions>
         <Grid Background="White" Margin="20,0,0,0"  Panel.ZIndex="1" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top">
-            <TextBlock Foreground="#001A4E" FontFamily="Segoe UI" Text="Password Type" FontWeight="DemiBold" FontSize="14"></TextBlock>
+            <TextBlock Foreground="#001A4E" FontFamily="Microsoft YaHei" Text="Password Type" FontWeight="DemiBold" FontSize="14"></TextBlock>
         </Grid>
         <Border Margin="0,10,7,12" BorderBrush="#33000000" BorderThickness="1">
             <Grid Margin="10" VerticalAlignment="Center" Height="{Binding Path=ActualHeight, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Border}}}">
@@ -30,14 +30,14 @@
                     <RowDefinition></RowDefinition>
                     <RowDefinition></RowDefinition>
                 </Grid.RowDefinitions>
-                <RadioButton x:Name="RdoAddPassword" IsChecked="True" VerticalAlignment="Center" FontFamily="Segoe UI" FontSize="14" Content="Add Password">
+                <RadioButton x:Name="RdoAddPassword" IsChecked="True" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="Add Password">
                 </RadioButton>
-                <RadioButton Grid.Row="1" x:Name="RdoRemovePassword" VerticalAlignment="Center" FontFamily="Segoe UI" FontSize="14" Content="Remove Password"></RadioButton>
+                <RadioButton Grid.Row="1" x:Name="RdoRemovePassword" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="Remove Password"></RadioButton>
             </Grid>
         </Border>
         <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right">
-            <Button Content="Cancel" Width="112" Height="32" FontFamily="Segoe UI" FontSize="14" Click="Cancel_Click"></Button>
-            <Button Content="OK" Width="112" Height="32" FontFamily="Segoe UI" FontSize="14" Margin="10,0,10,0" Click="Confirm_Click"></Button>
+            <Button Content="Cancel" Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Click="Cancel_Click"></Button>
+            <Button Content="OK" Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Margin="10,0,10,0" Click="Confirm_Click"></Button>
         </StackPanel>
     </Grid>
 </Window>

+ 8 - 8
Demo/Examples/Compdfkit_Tools/Security/Encryption/SetEncryptionControl.xaml

@@ -35,11 +35,11 @@
                 </Grid.RowDefinitions>
                 <StackPanel Orientation="Horizontal">
                     <CheckBox IsChecked="{Binding IsUserPasswordEnabled, Mode=OneWayToSource}" x:Name="ChbUserPassword" Width="20" Height="20" Margin="0,0,0,0"></CheckBox>
-                    <TextBlock Height="20" FontFamily="Segoe UI" FontSize="14" Text="Require a password to open the document"></TextBlock>
+                    <TextBlock Height="20" FontFamily="Microsoft YaHei" FontSize="14" Text="Require a password to open the document"></TextBlock>
                 </StackPanel>
 
                 <StackPanel Orientation="Horizontal" Grid.Row="1" Margin="20,0,0,-5">
-                    <TextBlock Height="25" FontFamily="Segoe UI" FontSize="14" Text="Open Password"/>
+                    <TextBlock Height="25" FontFamily="Microsoft YaHei" FontSize="14" Text="Open Password"/>
                     <common:PasswordBoxControl Password="{Binding UserPassword, Mode=OneWayToSource}" IsEnabled="{Binding IsUserPasswordEnabled,Mode=OneWay}" Margin="10,0,0,0" Watermark="Enter the password" Height="41" Width="175"></common:PasswordBoxControl>
                 </StackPanel>
             </Grid>
@@ -58,11 +58,11 @@
                 </Grid.RowDefinitions>
                 <StackPanel Orientation="Horizontal">
                     <CheckBox IsChecked="{Binding IsOwnerPasswordEnabled,Mode=OneWayToSource}" x:Name="ChbOwnerPassword" Width="20" Height="20" Margin="0,5,0,0"></CheckBox>
-                    <TextBlock Height="20" FontFamily="Segoe UI" FontSize="14" Text="Restrict printing or copying"></TextBlock>
+                    <TextBlock Height="20" FontFamily="Microsoft YaHei" FontSize="14" Text="Restrict printing or copying"></TextBlock>
                 </StackPanel>
 
                 <StackPanel Orientation="Horizontal" Grid.Row="1" Margin="20,0,0,0">
-                    <TextBlock Height="25" FontFamily="Segoe UI" FontSize="14" Text="Open Password"/>
+                    <TextBlock Height="25" FontFamily="Microsoft YaHei" FontSize="14" Text="Open Password"/>
                     <common:PasswordBoxControl Password="{Binding OwnerPassword, Mode=OneWayToSource}" IsEnabled="{Binding IsOwnerPasswordEnabled}" Margin="10,0,0,0" Watermark="Enter Password" Height="41" Width="175"></common:PasswordBoxControl>
                 </StackPanel>
                 
@@ -71,7 +71,7 @@
                               IsChecked="{Binding IsAllowPrint,Converter={StaticResource ReverseBoolConverter} ,Mode=OneWayToSource}"
                               IsEnabled="{Binding IsOwnerPasswordEnabled}">
                     </CheckBox>
-                    <TextBlock Height="20" FontFamily="Segoe UI" FontSize="14" Text="Restrict document printing"></TextBlock>
+                    <TextBlock Height="20" FontFamily="Microsoft YaHei" FontSize="14" Text="Restrict document printing"></TextBlock>
                 </StackPanel>
                 
                 <StackPanel Grid.Row="3" Orientation="Horizontal" Margin="20,0,0,0">
@@ -79,13 +79,13 @@
                               IsChecked="{Binding IsAllowCopy,Converter={StaticResource ReverseBoolConverter} ,Mode=OneWayToSource}"
                               IsEnabled="{Binding IsOwnerPasswordEnabled}">
                     </CheckBox>
-                    <TextBlock Height="20" FontFamily="Segoe UI" FontSize="14" Text="Restrict content copying"></TextBlock>
+                    <TextBlock Height="20" FontFamily="Microsoft YaHei" FontSize="14" Text="Restrict content copying"></TextBlock>
                 </StackPanel>
             </Grid>
         </Border>
         <DockPanel Grid.Row="2" Margin="10,0,10,10">
-            <TextBlock HorizontalAlignment="Left" Text="Encryption Level" FontFamily="Segoe UI" FontSize="14" Margin="21,0,10,0" VerticalAlignment="Center"></TextBlock>
-            <ComboBox HorizontalAlignment="Right" SelectedIndex="{Binding CryptographicLevel,Mode=OneWayToSource}" Style="{StaticResource ComboBoxStyle1}" FontFamily="Segoe UI" FontSize="14" VerticalContentAlignment="Center" Width="150" Height="30" VerticalAlignment="Center">
+            <TextBlock HorizontalAlignment="Left" Text="Encryption Level" FontFamily="Microsoft YaHei" FontSize="14" Margin="21,0,10,0" VerticalAlignment="Center"></TextBlock>
+            <ComboBox HorizontalAlignment="Right" SelectedIndex="{Binding CryptographicLevel,Mode=OneWayToSource}" Style="{StaticResource ComboBoxStyle1}" FontFamily="Microsoft YaHei" FontSize="14" VerticalContentAlignment="Center" Width="150" Height="30" VerticalAlignment="Center">
                 <ComboBoxItem IsSelected="True">128 - bit RC4</ComboBoxItem>
                 <ComboBoxItem>128 - bit AES</ComboBoxItem>
                 <ComboBoxItem>256 - bit AES</ComboBoxItem>

+ 8 - 8
Demo/Examples/Compdfkit_Tools/Security/Watermark/AddWatermark/FileGridListWithPageRangeControl.xaml

@@ -30,11 +30,11 @@
         </Grid.RowDefinitions>
 
         <DockPanel Grid.Row="0" Grid.Column="0">
-            <Button x:Name="AddFilesBtn" Content="Add Files" Height="32" Width="112" FontFamily="Segoe UI" FontSize="14" Padding="28,6,27,6" HorizontalAlignment="Left" Click="AddFilesBtn_Click"></Button>
+            <Button x:Name="AddFilesBtn" Content="Add Files" Height="32" Width="112" FontFamily="Microsoft YaHei" FontSize="14" Padding="28,6,27,6" HorizontalAlignment="Left" Click="AddFilesBtn_Click"></Button>
             <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
-                <TextBlock Text="Total " FontFamily="Segoe UI" FontSize="14"></TextBlock>
-                <TextBlock FontFamily="Segoe UI" FontSize="14" Text="{Binding FileNumText}" ></TextBlock>
-                <TextBlock Text=" Files" FontFamily="Segoe UI" FontSize="14"></TextBlock>
+                <TextBlock Text="Total " FontFamily="Microsoft YaHei" FontSize="14"></TextBlock>
+                <TextBlock FontFamily="Microsoft YaHei" FontSize="14" Text="{Binding FileNumText}" ></TextBlock>
+                <TextBlock Text=" Files" FontFamily="Microsoft YaHei" FontSize="14"></TextBlock>
             </StackPanel>
         </DockPanel>
 
@@ -62,11 +62,11 @@
                             </Style>
                             <Style TargetType="DataGridColumnHeader">
                                 <Setter Property="Foreground" Value="#666666" />
-                                <Setter Property="FontFamily" Value="Segoe UI" />
+                                <Setter Property="FontFamily" Value="Microsoft YaHei" />
                                 <Setter Property="FontSize" Value="12" />
                             </Style>
                             <Style TargetType="DataGridCell">
-                                <Setter Property="FontFamily" Value="Segoe UI" />
+                                <Setter Property="FontFamily" Value="Microsoft YaHei" />
                                 <Setter Property="FontSize" Value="12" />
                                 <Setter Property="Foreground" Value="#666666" />
                                 <Setter Property="BorderThickness" Value="0"></Setter>
@@ -81,8 +81,8 @@
                     </DataGrid>
                 </Grid>
                 <StackPanel Grid.Row="1" Orientation="Horizontal">
-                    <Button x:Name="RemoveBtn" FontFamily="Segoe UI" FontSize="14" Content="Remove All" Width="112" Height="32" HorizontalAlignment="Left" Click="RemoveBtn_Click"></Button>
-                    <Button x:Name="PageRangeBtn" FontFamily="Segoe UI" FontSize="14" Content="Page Range" Width="112" Height="32" HorizontalAlignment="Left" Margin="20,0,0,0" Visibility="Collapsed" Click="PageRangeBtn_Click"></Button>
+                    <Button x:Name="RemoveBtn" FontFamily="Microsoft YaHei" FontSize="14" Content="Remove All" Width="112" Height="32" HorizontalAlignment="Left" Click="RemoveBtn_Click"></Button>
+                    <Button x:Name="PageRangeBtn" FontFamily="Microsoft YaHei" FontSize="14" Content="Page Range" Width="112" Height="32" HorizontalAlignment="Left" Margin="20,0,0,0" Visibility="Collapsed" Click="PageRangeBtn_Click"></Button>
                 </StackPanel>
             </Grid>
         </Border>

+ 5 - 5
Demo/Examples/Compdfkit_Tools/Security/Watermark/AddWatermark/PageRangeDialog.xaml

@@ -36,23 +36,23 @@
                         <RowDefinition></RowDefinition>
                     </Grid.RowDefinitions>
                     <RadioButton x:Name="AllRangeRdo" Tag="All" Margin="0,0,0,8" IsChecked="True" Checked="RangeRdo_Checked">
-                        <TextBlock Text="All Pages" VerticalAlignment="Center" FontSize="14" FontFamily="Segoe UI"></TextBlock>
+                        <TextBlock Text="All Pages" VerticalAlignment="Center" FontSize="14" FontFamily="Microsoft YaHei"></TextBlock>
                     </RadioButton>
                     <RadioButton  x:Name="OddRangeRdo" Tag="Odd" Grid.Row="1" Margin="0,0,0,8" Checked="RangeRdo_Checked">
-                        <TextBlock Text="Odd page only" VerticalAlignment="Center" FontSize="14" FontFamily="Segoe UI"></TextBlock>
+                        <TextBlock Text="Odd page only" VerticalAlignment="Center" FontSize="14" FontFamily="Microsoft YaHei"></TextBlock>
                     </RadioButton>
                     <RadioButton x:Name="EvenRangeRdo" Tag="Even" IsEnabled="{Binding IsEvenEnable}" Grid.Row="2" Margin="0,0,0,8" Checked="RangeRdo_Checked">
-                        <TextBlock Text="Even page only" VerticalAlignment="Center" FontSize="14" FontFamily="Segoe UI"></TextBlock>
+                        <TextBlock Text="Even page only" VerticalAlignment="Center" FontSize="14" FontFamily="Microsoft YaHei"></TextBlock>
                     </RadioButton>
                     <RadioButton x:Name="CustomRangeRdo" Tag="Custom" Grid.Row="3" Margin="0,0,0,8" Checked="RangeRdo_Checked">
                         <StackPanel Orientation="Horizontal">
-                            <TextBlock Text="Custom Range" VerticalAlignment="Center" FontSize="14" FontFamily="Segoe UI"></TextBlock>
+                            <TextBlock Text="Custom Range" VerticalAlignment="Center" FontSize="14" FontFamily="Microsoft YaHei"></TextBlock>
                             <TextBox Margin="12,0,0,0" Text="{Binding PageRange, UpdateSourceTrigger=PropertyChanged}" Height="28" Width="150" IsEnabled="{Binding ElementName=CustomRangeRdo, Path=IsChecked}"></TextBox>
                         </StackPanel>
                     </RadioButton>
                 </Grid>
             </Border>
-            <TextBlock Text="Page Range" Margin="20,3,0,0" Background="#fff" Height="20" Width="75" HorizontalAlignment="Left" VerticalAlignment="Top" TextAlignment="Center" FontWeight="DemiBold" FontFamily="Segoe UI"></TextBlock>
+            <TextBlock Text="Page Range" Margin="20,3,0,0" Background="#fff" Height="20" Width="75" HorizontalAlignment="Left" VerticalAlignment="Top" TextAlignment="Center" FontWeight="DemiBold" FontFamily="Microsoft YaHei"></TextBlock>
         </Grid>
         <Grid Grid.Row="1" Grid.ColumnSpan="2">
             <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,12,0,12">

File diff suppressed because it is too large
+ 4 - 4
Demo/Examples/Compdfkit_Tools/Security/Watermark/AddWatermark/WatermarkDialog.xaml


+ 7 - 7
Demo/Examples/Compdfkit_Tools/Security/Watermark/RemoveWatermark/RemoveWatermarkListControl.xaml

@@ -30,11 +30,11 @@
         </Grid.RowDefinitions>
 
         <DockPanel Grid.Row="0" Grid.Column="0">
-            <Button x:Name="AddFilesBtn" Content="Add Files" Height="32" Width="112" FontFamily="Segoe UI" FontSize="14" HorizontalAlignment="Left" Click="AddFilesBtn_Click"></Button>
+            <Button x:Name="AddFilesBtn" Content="Add Files" Height="32" Width="112" FontFamily="Microsoft YaHei" FontSize="14" HorizontalAlignment="Left" Click="AddFilesBtn_Click"></Button>
             <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,20,0">
-                <TextBlock Text="Total " FontFamily="Segoe UI" FontSize="14"></TextBlock>
-                <TextBlock FontFamily="Segoe UI" FontSize="14" Text="{Binding FileNumText}" ></TextBlock>
-                <TextBlock Text=" File(s)" FontFamily="Segoe UI" FontSize="14"></TextBlock>
+                <TextBlock Text="Total " FontFamily="Microsoft YaHei" FontSize="14"></TextBlock>
+                <TextBlock FontFamily="Microsoft YaHei" FontSize="14" Text="{Binding FileNumText}" ></TextBlock>
+                <TextBlock Text=" File(s)" FontFamily="Microsoft YaHei" FontSize="14"></TextBlock>
             </StackPanel>
         </DockPanel>
 
@@ -61,11 +61,11 @@
                             </Style>
                             <Style TargetType="DataGridColumnHeader">
                                 <Setter Property="Foreground" Value="#666666" />
-                                <Setter Property="FontFamily" Value="Segoe UI" />
+                                <Setter Property="FontFamily" Value="Microsoft YaHei" />
                                 <Setter Property="FontSize" Value="12" />
                             </Style>
                             <Style TargetType="DataGridCell">
-                                <Setter Property="FontFamily" Value="Segoe UI" />
+                                <Setter Property="FontFamily" Value="Microsoft YaHei" />
                                 <Setter Property="FontSize" Value="12" />
                                 <Setter Property="Foreground" Value="#666666" />
                                 <Setter Property="BorderThickness" Value="0"></Setter>
@@ -80,7 +80,7 @@
                     </DataGrid>
                 </Grid>
                 <StackPanel Grid.Row="1" Orientation="Horizontal">
-                    <Button x:Name="RemoveBtn" FontFamily="Segoe UI" FontSize="14" Content="Remove All" Width="112" Height="32" HorizontalAlignment="Left" Click="RemoveBtn_Click"></Button>
+                    <Button x:Name="RemoveBtn" FontFamily="Microsoft YaHei" FontSize="14" Content="Remove All" Width="112" Height="32" HorizontalAlignment="Left" Click="RemoveBtn_Click"></Button>
                 </StackPanel>
             </Grid>
         </Border>

+ 5 - 5
Demo/Examples/Compdfkit_Tools/Security/Watermark/WatermarkOperationTypeDialog.xaml

@@ -23,7 +23,7 @@
             <RowDefinition Height="40"></RowDefinition>
         </Grid.RowDefinitions>
         <Grid Background="White" Margin="20,0,0,0"  Panel.ZIndex="1" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top">
-            <TextBlock Foreground="#001A4E" FontFamily="Segoe UI" Text="Watermark Type" FontWeight="DemiBold" FontSize="14"></TextBlock>
+            <TextBlock Foreground="#001A4E" FontFamily="Microsoft YaHei" Text="Watermark Type" FontWeight="DemiBold" FontSize="14"></TextBlock>
         </Grid>
         <Border Margin="0,10,7,12" BorderBrush="#33000000" BorderThickness="1">
             <Grid Margin="10" VerticalAlignment="Center" Height="{Binding Path=ActualHeight, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Border}}}">
@@ -31,13 +31,13 @@
                     <RowDefinition Height="*"></RowDefinition>
                     <RowDefinition Height="*"></RowDefinition>
                 </Grid.RowDefinitions>
-                <RadioButton x:Name="AddWatermarkRdo" IsChecked="True" VerticalAlignment="Center" FontFamily="Segoe UI" FontSize="14" Content="Add Watermarks"></RadioButton>
-                <RadioButton Grid.Row="1" x:Name="RemoveWatermarkRdo" VerticalAlignment="Center" FontFamily="Segoe UI" FontSize="14" Content="Remove Watermarks"></RadioButton>
+                <RadioButton x:Name="AddWatermarkRdo" IsChecked="True" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="Add Watermarks"></RadioButton>
+                <RadioButton Grid.Row="1" x:Name="RemoveWatermarkRdo" VerticalAlignment="Center" FontFamily="Microsoft YaHei" FontSize="14" Content="Remove Watermarks"></RadioButton>
             </Grid>
         </Border>
         <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right">
-            <Button Content="Cancel" Width="112" Height="32" FontFamily="Segoe UI" FontSize="14" Click="Cancel_Click"></Button>
-            <Button Content="OK" Width="112" Height="32" FontFamily="Segoe UI" FontSize="14" Margin="10,0,10,0" Click="Confirm_Click"></Button>
+            <Button Content="Cancel" Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Click="Cancel_Click"></Button>
+            <Button Content="OK" Width="112" Height="32" FontFamily="Microsoft YaHei" FontSize="14" Margin="10,0,10,0" Click="Confirm_Click"></Button>
         </StackPanel>
     </Grid>
 </Window>

+ 72 - 0
Demo/Examples/Compdfkit_Tools/Strings/Resources.Designer.cs

@@ -0,0 +1,72 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace Compdfkit_Tools.Strings {
+    using System;
+    
+    
+    /// <summary>
+    ///   A strongly-typed resource class, for looking up localized strings, etc.
+    /// </summary>
+    // This class was auto-generated by the StronglyTypedResourceBuilder
+    // class via a tool like ResGen or Visual Studio.
+    // To add or remove a member, edit your .ResX file then rerun ResGen
+    // with the /str option, or rebuild your VS project.
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources {
+        
+        private static global::System.Resources.ResourceManager resourceMan;
+        
+        private static global::System.Globalization.CultureInfo resourceCulture;
+        
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources() {
+        }
+        
+        /// <summary>
+        ///   Returns the cached ResourceManager instance used by this class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager {
+            get {
+                if (object.ReferenceEquals(resourceMan, null)) {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Compdfkit_Tools.Strings.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+        
+        /// <summary>
+        ///   Overrides the current thread's CurrentUICulture property for all
+        ///   resource lookups using this strongly typed resource class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture {
+            get {
+                return resourceCulture;
+            }
+            set {
+                resourceCulture = value;
+            }
+        }
+        
+        /// <summary>
+        ///   Looks up a localized string similar to Apple🍎.
+        /// </summary>
+        internal static string Apple {
+            get {
+                return ResourceManager.GetString("Apple", resourceCulture);
+            }
+        }
+    }
+}

+ 123 - 0
Demo/Examples/Compdfkit_Tools/Strings/Resources.resx

@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="Apple" xml:space="preserve">
+    <value>Apple🍎</value>
+  </data>
+</root>

+ 0 - 0
Demo/Examples/Compdfkit_Tools/Strings/Resources.zh-CN.Designer.cs


+ 123 - 0
Demo/Examples/Compdfkit_Tools/Strings/Resources.zh-CN.resx

@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="Apple" xml:space="preserve">
+    <value>苹果为什么</value>
+  </data>
+</root>

+ 10 - 2
Demo/Examples/PDFViewer/App.xaml.cs

@@ -2,14 +2,18 @@
 using System.Collections.Generic;
 using System.Configuration;
 using System.Data;
+using System.Globalization;
 using System.IO;
 using System.Linq;
 using System.Reflection;
+using System.Resources;
+using System.Threading;
 using System.Threading.Tasks;
 using System.Windows;
 using System.Xml;
 using ComPDFKit.NativeMethod;
 using Compdfkit_Tools.Helper;
+using PDFViewer.Properties;
 
 namespace PDFViewer
 {
@@ -18,12 +22,16 @@ namespace PDFViewer
     /// </summary>
     public partial class App: Application
     {
-        static public bool DefaultPDFLoaded = false;
+        public static bool DefaultPDFLoaded = false;
+        public Dictionary<string, string> Languages;
         public static FilePathList OpenedFilePathList = new FilePathList();
 
         protected override void OnStartup(StartupEventArgs e)
         {
-            string str = GetType().Assembly.Location;
+            Languages = new Dictionary<string, string>() { {"English","en-US"}, {"简体中文","zh-CN"}};
+            string culture = Languages.TryGetValue(Settings.Default.Language, out culture) ? culture : "en-US";
+            Thread.CurrentThread.CurrentUICulture = new CultureInfo(culture);
+            Thread.CurrentThread.CurrentCulture = new CultureInfo(culture);
             base.OnStartup(e);
             LicenseVerify();
             FileHistoryHelper<PDFFileInfo>.Instance.LoadHistory();

+ 3 - 3
Demo/Examples/PDFViewer/MainWindow.xaml

@@ -167,9 +167,9 @@
                                         <ColumnDefinition Width="auto" />
                                     </Grid.ColumnDefinitions>
                                     <Border x:Name="InnerTitleBd" Grid.ColumnSpan="4" BorderBrush="#5Affffff" CornerRadius="3" BorderThickness="1,0,1,0" Margin="2,1,2,4"></Border>
-                                    <TextBlock  x:Name="TextTitle" Grid.Column="1" MaxWidth="145"  Margin="8,4,0,4" FontWeight="DemiBold" FontFamily="Segoe UI,Microsoft YaHei"  Text="{Binding FileName}"  TextTrimming="WordEllipsis" />
+                                    <TextBlock  x:Name="TextTitle" Grid.Column="1" MaxWidth="145"  Margin="8,4,0,4" FontWeight="DemiBold" FontFamily="Microsoft YaHei,Microsoft YaHei"  Text="{Binding FileName}"  TextTrimming="WordEllipsis" />
 
-                                    <Thumb  x:Name="PART_Thumb"  Grid.ColumnSpan="3"  HorizontalAlignment="Stretch"  VerticalContentAlignment="Stretch" Background="Transparent"  FontFamily="Segoe UI,Microsoft YaHei"  ToolTip="{Binding FileName}">
+                                    <Thumb  x:Name="PART_Thumb"  Grid.ColumnSpan="3"  HorizontalAlignment="Stretch"  VerticalContentAlignment="Stretch" Background="Transparent"  FontFamily="Microsoft YaHei,Microsoft YaHei"  ToolTip="{Binding FileName}">
                                         <Thumb.Template>
                                             <ControlTemplate>
                                                 <Grid Background="Transparent" />
@@ -293,7 +293,7 @@
                                                 <Path Data="M18.2856 3.71387H15.4284L15.4284 7.71385H10.857C9.59465 7.71385 8.5713 8.7372 8.5713 9.99956C8.5713 11.2619 9.59465 12.2853 10.857 12.2853H15.4284L15.4284 16.2853L4.57129 16.2853V18.2853C4.57129 19.2321 5.3388 19.9996 6.28558 19.9996H18.2856C19.2324 19.9996 19.9999 19.2321 19.9999 18.2853V5.42815C19.9999 4.48138 19.2324 3.71387 18.2856 3.71387Z" Fill="#31BC98"/>
                                             </Grid>
                                         </Viewbox>
-                                        <TextBlock Margin="10,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" FontFamily="Segoe UI" FontSize="12" FontWeight="DemiBold" Text="ComPDFKit V1.11.0">
+                                        <TextBlock Margin="10,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" FontFamily="Microsoft YaHei" FontSize="12" FontWeight="DemiBold" Text="ComPDFKit V1.11.0">
                                             <TextBlock.Foreground>
                                                 <Binding Path="IsToggled" ElementName="HomePageButton" Converter="{StaticResource BoolToColorConverter}"></Binding>
                                             </TextBlock.Foreground>

+ 2 - 1
Demo/Examples/PDFViewer/MainWindow.xaml.cs

@@ -15,6 +15,7 @@ using System.Windows.Media.Imaging;
 using System.Windows.Navigation;
 using System.IO;
 using System.ComponentModel;
+using System.Resources;
 using System.Runtime.CompilerServices;
 using Dragablz;
 using Compdfkit_Tools.Helper;
@@ -40,7 +41,7 @@ namespace PDFViewer
         public MainWindow()
         {
             InitializeComponent();
-            Loaded += MainWindow_Loaded; ;
+            Loaded += MainWindow_Loaded;
         }
 
         private void MainWindow_Loaded(object sender, RoutedEventArgs e)

+ 7 - 7
Demo/Examples/PDFViewer/SettingsDialog.xaml

@@ -79,7 +79,7 @@
                 <Setter Property="Background" Value="Transparent"/>
                 <Setter Property="Foreground" Value="#1460F3"/>
                 <Setter Property="BorderBrush" Value="Transparent"/>
-                <Setter Property="FontFamily" Value="Segoe UI"></Setter>
+                <Setter Property="FontFamily" Value="Microsoft YaHei"></Setter>
                 <Setter Property="Template">
                     <Setter.Value>
                         <ControlTemplate TargetType="Button">
@@ -110,12 +110,12 @@
         </Grid.RowDefinitions>
         <StackPanel Margin="10,10,0,0">
             <Grid Margin="0,10,0,8" Height="32">
-                <TextBlock Text="Document Author" FontSize="14" FontWeight="DemiBold" FontFamily="Segoe UI" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
+                <TextBlock Text="Document Author" FontSize="14" FontWeight="DemiBold" FontFamily="Microsoft YaHei" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                 <TextBox x:Name="AuthorTxb" Padding="5,0,5,0" TextChanged="AuthorTxb_TextChanged"  HorizontalAlignment="Right" VerticalContentAlignment="Center" Width="130">
                 </TextBox>
             </Grid>
             <Grid Height="32">
-                <TextBlock Text="Language" FontSize="14" FontWeight="DemiBold" FontFamily="Segoe UI" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
+                <TextBlock Text="Language" FontSize="14" FontWeight="DemiBold" FontFamily="Microsoft YaHei" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
                 <ComboBox x:Name="LanguageCmb" SelectionChanged="LanguageCmb_SelectionChanged" Style="{StaticResource ComboBoxStyle1}" HorizontalAlignment="Right" Width="130">
                     <ComboBoxItem></ComboBoxItem>
                     <ComboBoxItem>English</ComboBoxItem>
@@ -135,7 +135,7 @@
                 </Grid>
             </StackPanel>
         </Border>
-        <TextBlock Text="Global setting" Background="White" Grid.Row="1" Height="20" Width="90" FontSize="14" HorizontalAlignment="Left" VerticalAlignment="Top" FontWeight="DemiBold" FontFamily="Segoe UI" Margin="10,-10,0,0"></TextBlock>
+        <TextBlock Text="Global setting" Background="White" Grid.Row="1" Height="20" Width="90" FontSize="14" HorizontalAlignment="Left" VerticalAlignment="Top" FontWeight="DemiBold" FontFamily="Microsoft YaHei" Margin="10,-10,0,0"></TextBlock>
 
         <Border BorderBrush="#1A000000" BorderThickness="1"  Grid.Row="2" Grid.RowSpan="2"  Margin="0,10,0,10">
             <StackPanel  Margin="10">
@@ -145,7 +145,7 @@
                 </Grid>
             </StackPanel>
         </Border>
-        <TextBlock Text="SDK Information"  Grid.Row="2" Background="#ffffff" Height="20" Width="110" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" FontWeight="DemiBold" FontFamily="Segoe UI" Margin="10,0,0,0"></TextBlock>
+        <TextBlock Text="SDK Information"  Grid.Row="2" Background="#ffffff" Height="20" Width="110" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" FontWeight="DemiBold" FontFamily="Microsoft YaHei" Margin="10,0,0,0"></TextBlock>
 
         <Border BorderBrush="#1A000000" BorderThickness="1"  Grid.Row="4"   Margin="0,10,0,10"> 
             <StackPanel Margin="10">
@@ -171,14 +171,14 @@
             </Grid>
         </StackPanel>
         </Border>
-        <TextBlock Text="Company Information" FontSize="14" Grid.Row="4" Background="#ffffff" Height="20" Width="140" HorizontalAlignment="Left" VerticalAlignment="Top" FontWeight="DemiBold" FontFamily="Segoe UI" Margin="10,0,0,8"></TextBlock>
+        <TextBlock Text="Company Information" FontSize="14" Grid.Row="4" Background="#ffffff" Height="20" Width="140" HorizontalAlignment="Left" VerticalAlignment="Top" FontWeight="DemiBold" FontFamily="Microsoft YaHei" Margin="10,0,0,8"></TextBlock>
 
         <Grid Grid.Row="5" Margin="0,0,0,40">
             <Grid.RowDefinitions>
                 <RowDefinition Height="auto"></RowDefinition>
                 <RowDefinition></RowDefinition>
             </Grid.RowDefinitions>
-            <TextBlock Text="@ 2014-2023 PDF Technologies, Inc. All Rights Reserved." HorizontalAlignment="Center" Foreground="#999999" FontFamily="Segoe UI"></TextBlock>
+            <TextBlock Text="@ 2014-2023 PDF Technologies, Inc. All Rights Reserved." HorizontalAlignment="Center" Foreground="#999999" FontFamily="Microsoft YaHei"></TextBlock>
             <StackPanel HorizontalAlignment="Center" VerticalAlignment="Bottom" Grid.Row="2" Orientation="Horizontal">
                 <Button Style="{StaticResource UnderlinedButtonStyle}" Tag="https://www.compdf.com/privacy-policy/" Content="Privacy Policy"></Button>
                 <Rectangle Width="1" Height="15" Fill="#1A000000" Margin="10,0,10,0"></Rectangle>