RedactionSettings.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Media;
  8. namespace PDFSettings
  9. {
  10. public class RedactionSettings
  11. {
  12. private string content = "";
  13. public string Content { get { return content; } set { content = value; } }
  14. private Color linecolor = Colors.Red;
  15. public Color LineColor { get { return linecolor; } set { linecolor = value; } }
  16. private Color bgcolor = Colors.Black;
  17. public Color BgColor { get { return bgcolor; } set { bgcolor = value; } }
  18. private Color fontcolor = Colors.Red;
  19. public Color FontColor { get { return fontcolor; } set { fontcolor = value; } }
  20. private int fontsize = 14;
  21. public int FontSize { get { return fontsize; } set { fontsize = value; } }
  22. private bool isusetext = false;
  23. public bool isUseText { get { return isusetext; } set { isusetext = value; } }
  24. private TextAlignment align = TextAlignment.Left;
  25. public TextAlignment Align { get { return align; } set { align = value; } }
  26. }
  27. }