123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- 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_Office.Model.AnnotPanel
- {
- public class Stamp : BindableBase
- {
- 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);
- }
- }
- }
- }
|