using Prism.Mvvm; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Ink; using System.Windows.Media; namespace PDF_Master.Model.AnnotPanel { public enum SignatureType { TextType, Drawing, ImageType } public class Signature : BindableBase { #region 文案 private string _T_MenuRightMenuSignatureAnnot_Export = App.MainPageLoader.GetString("MenuRightMenuSignatureAnnot_Export"); public string T_MenuRightMenuSignatureAnnot_Export { get { return _T_MenuRightMenuSignatureAnnot_Export; } set { SetProperty(ref _T_MenuRightMenuSignatureAnnot_Export, value); } } private string _T_MenuRightMenuSignatureAnnotExport_PNG = App.MainPageLoader.GetString("MenuRightMenuSignatureAnnotExport_PNG"); public string T_MenuRightMenuSignatureAnnotExport_PNG { get { return _T_MenuRightMenuSignatureAnnotExport_PNG; } set { SetProperty(ref _T_MenuRightMenuSignatureAnnotExport_PNG, value); } } private string _T_MenuRightMenuSignatureAnnotExport_PDF = App.MainPageLoader.GetString("MenuRightMenuSignatureAnnotExport_PDF"); public string T_MenuRightMenuSignatureAnnotExport_PDF { get { return _T_MenuRightMenuSignatureAnnotExport_PDF; } set { SetProperty(ref _T_MenuRightMenuSignatureAnnotExport_PDF, value); } } private string _T_MenuRightMenuSignatureAnnot_Delete = App.MainPageLoader.GetString("MenuRightMenuSignatureAnnot_Delete"); public string T_MenuRightMenuSignatureAnnot_Delete { get { return _T_MenuRightMenuSignatureAnnot_Delete; } set { SetProperty(ref _T_MenuRightMenuSignatureAnnot_Delete, value); } } private string _T_MenuRightMenuSignatureAnnot_DeleteAll = App.MainPageLoader.GetString("MenuRightMenuSignatureAnnot_DeleteAll"); public string T_MenuRightMenuSignatureAnnot_DeleteAll { get { return _T_MenuRightMenuSignatureAnnot_DeleteAll; } set { SetProperty(ref _T_MenuRightMenuSignatureAnnot_DeleteAll, value); } } private void IntString() { T_MenuRightMenuSignatureAnnot_Export = App.MainPageLoader.GetString("MenuRightMenuSignatureAnnot_Export"); T_MenuRightMenuSignatureAnnotExport_PNG = App.MainPageLoader.GetString("MenuRightMenuSignatureAnnotExport_PNG"); T_MenuRightMenuSignatureAnnotExport_PDF = App.MainPageLoader.GetString("MenuRightMenuSignatureAnnotExport_PDF"); T_MenuRightMenuSignatureAnnot_Delete = App.MainPageLoader.GetString("MenuRightMenuSignatureAnnot_Delete"); T_MenuRightMenuSignatureAnnot_DeleteAll = App.MainPageLoader.GetString("MenuRightMenuSignatureAnnot_DeleteAll"); } #endregion private string sourcePath; public string SourcePath { get { return sourcePath; } set { SetProperty(ref sourcePath, value); } } private string drawingPath; public string DrawingPath { get { return drawingPath; } set { SetProperty(ref drawingPath, value); } } public SignatureType Type { get; set; } public double inkThickness { get; set; } public Color inkColor { get; set; } } }