123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- using ComPDFKitViewer.AnnotEvent;
- using Prism.Mvvm;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Media.Imaging;
- namespace PDF_Master.Model.AnnotPanel
- {
- public class Stamp : BindableBase
- {
- #region 文案
- private string _T__MenuRightMenuStampAnnot_Export = App.MainPageLoader.GetString("MenuRightMenuStampAnnot_Export");
- public string T_MenuRightMenuStampAnnot_Export
- {
- get { return _T__MenuRightMenuStampAnnot_Export; }
- set
- {
- SetProperty(ref _T__MenuRightMenuStampAnnot_Export, value);
- }
- }
- private string _T_MenuRightMenuStampAnnotExport_PNG = App.MainPageLoader.GetString("MenuRightMenuStampAnnotExport_PNG");
- public string T_MenuRightMenuStampAnnotExport_PNG
- {
- get { return _T_MenuRightMenuStampAnnotExport_PNG; }
- set
- {
- SetProperty(ref _T_MenuRightMenuStampAnnotExport_PNG, value);
- }
- }
- private string _T_MenuRightMenuStampAnnotExport_PDF = App.MainPageLoader.GetString("MenuRightMenuStampAnnotExport_PDF");
- public string T_MenuRightMenuStampAnnotExport_PDF
- {
- get { return _T_MenuRightMenuStampAnnotExport_PDF; }
- set
- {
- SetProperty(ref _T_MenuRightMenuStampAnnotExport_PDF, value);
- }
- }
- private void IntString()
- {
- T_MenuRightMenuStampAnnot_Export = App.MainPageLoader.GetString("MenuRightMenuStampAnnot_Export");
- T_MenuRightMenuStampAnnotExport_PNG = App.MainPageLoader.GetString("MenuRightMenuStampAnnotExport_PNG");
- T_MenuRightMenuStampAnnotExport_PDF = App.MainPageLoader.GetString("MenuRightMenuStampAnnotExport_PDF");
- }
- #endregion
- private string stampText;
- public string StampText
- {
- get { return stampText; }
- set
- {
- SetProperty(ref stampText, value);
- }
- }
- private string sourcePath;
- public string SourcePath
- {
- get { return sourcePath; }
- set
- {
- SetProperty(ref sourcePath, value);
- }
- }
- private int maxWidth;
- public int MaxWidth
- {
- get { return maxWidth; }
- set
- {
- SetProperty(ref maxWidth, value);
- }
- }
- private int maxHeight;
- public int MaxHeight
- {
- get { return maxHeight; }
- set
- {
- SetProperty(ref maxHeight, value);
- }
- }
- private StampType type;
- public StampType Type
- {
- get { return type; }
- set
- {
- SetProperty(ref type, value);
- }
- }
- private string author;
- public string Author
- {
- get { return author; }
- set
- {
- SetProperty(ref author, value);
- }
- }
- private double opacity;
- public double Opacity
- {
- get { return opacity; }
- set
- {
- SetProperty(ref opacity, value);
- }
- }
- private BitmapSource imageSource;
- public BitmapSource ImageSource
- {
- get { return imageSource; }
- set
- {
- SetProperty(ref imageSource, value);
- }
- }
- private TextStampColor textColor;
- public TextStampColor TextColor
- {
- get { return textColor; }
- set
- {
- SetProperty(ref textColor, value);
- }
- }
- private string stampTextDate;
- public string StampTextDate
- {
- get { return stampTextDate; }
- set
- {
- SetProperty(ref stampTextDate, value);
- }
- }
- private TextStampSharp textSharp;
- public TextStampSharp TextSharp
- {
- get { return textSharp; }
- set
- {
- SetProperty(ref textSharp, value);
- }
- }
- private bool isCheckedDate;
- public bool IsCheckedDate
- {
- get { return isCheckedDate; }
- set
- {
- SetProperty(ref isCheckedDate, value);
- }
- }
- private bool isCheckedTime;
- public bool IsCheckedTime
- {
- get { return isCheckedTime; }
- set
- {
- SetProperty(ref isCheckedTime, value);
- }
- }
- }
- }
|