12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- using ComPDFKitViewer.PdfViewer;
- using Prism.Mvvm;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Media;
- namespace PDF_Master.Model.BOTA
- {
- public class TextBindProperty : BindableBase
- {
- public int PageIndex { get; set; }
- public string TextContent { get; set; }
- public Color HighLightColor { get; set; }
- public string SearchWord { get; set; }
- public Rect TextRect { get; set; }
- public int PageRotate { get; set; }
- public TextSearchItem SearchItem { get; set; }
- private Visibility itemVisibility;
-
-
-
- public Visibility ItemVisibility
- {
- get { return itemVisibility; }
- set
- {
- SetProperty(ref itemVisibility, value);
- }
- }
- }
- public class SearchItem : BindableBase
- {
- private TextBindProperty textProperty;
- public TextBindProperty TextProperty
- {
- get { return textProperty; }
- set
- {
- SetProperty(ref textProperty, value);
- }
- }
-
-
-
- public string ShowPageIndex
- {
- get { return "Page"+ (TextProperty.PageIndex + 1).ToString(); }
- private set { }
- }
-
-
-
- private int pageCount;
- public int PageCount
- {
- get { return pageCount; }
- set
- {
- SetProperty(ref pageCount, value);
- }
- }
- }
- }
|