2 #include "FileFormat.h"
4 using namespace System::Drawing;
5 using namespace System::Collections::Generic;
19 m_sRedactRectXML =
nullptr;
20 m_RecductionRects =
nullptr;
22 m_sWatermarkText =
nullptr;
23 m_sFontName =
nullptr;
26 m_nAlignment = Alignment::Center;
27 m_WatermarkColor = Color::Blue;
33 property bool IsDocument
35 virtual bool get()
override
41 property String^ RedactTextXML
57 bool Find(System::String^ Text,Dictionary<
int,List<System::Drawing::Rectangle>^>^ searchRects,
bool MatchCase,
bool IsWholeWord);
58 void RedactText(Dictionary<
int,List<System::Drawing::Rectangle>^>^ rects,array<int>^ PageNos,Color clr);
59 void RedactArea(System::Drawing::Rectangle rect,
int PageNos,Color clr);
60 void AddWaterMark(String^ WatermarkText, String^ FontName ,
int FontHeight,
int RotationAngle,Alignment alignment, System::Drawing::Color clr);
61 void AdvancedTextSearch(Dictionary<
int,List<System::Drawing::Rectangle>^>^ rects,String^ strName,
bool keepPrefix,
bool RevealLastDigits,
int CategoryIndex);
65 String^ m_sWatermarkText;
69 Alignment m_nAlignment;
70 Color m_WatermarkColor;
71 Color m_RedactionColor;
72 String^ m_sRedactRectXML;
73 Dictionary<int,List<System::Drawing::Rectangle>^>^ m_RecductionRects;
74 array<int>^ m_PageNos;
Definition: Document.h:14