File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
libraries/radpdfprocessing/model/annotations Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -154,11 +154,11 @@ Depending on the TextMarkupAnnotationType the respective type of the TextMarkup
154
154
155
155
TextSearch search = new Search .TextSearch (fixedDocument );
156
156
IEnumerable < SearchResult > strikeoutSearch = search .FindAll (" strikeout" , TextSearchOptions .Default );
157
- Rect underlineRectangle = strikeoutSearch .First ().GetWordBoundingRect ();
158
- TextMarkupAnnotation underlineAnnotation = page .Annotations .AddStrikeout (underlineRectangle );
159
- underlineAnnotation .Color = new RgbColor (0 , 0 , 0 );
160
- underlineAnnotation .Opacity = 0 . 90 ;
161
- underlineAnnotation .RecalculateContent ();
157
+ Rect strikeoutRectangle = strikeoutSearch .First ().GetWordBoundingRect ();
158
+ TextMarkupAnnotation strikeoutAnnotation = page .Annotations .AddStrikeout (strikeoutRectangle );
159
+ strikeoutAnnotation .Color = new RgbColor (0 , 0 , 255 );
160
+ strikeoutAnnotation .Opacity = 0 . 90 ;
161
+ strikeoutAnnotation .RecalculateContent ();
162
162
```
163
163
164
164
![ Create StrikeOut Annotation] ( images/pdf-processing-create-strikeOut-annotation.png )
You can’t perform that action at this time.
0 commit comments