Latest Release (December 2023)
Full list of changes in this release
Key | Category | Summary |
---|---|---|
ANNOTATIONNET-2514 | Feature | Implement background color support for ReplacementAnnotation |
ANNOTATIONNET-2515 | Improvement | Drop support of .NET Framework 4.0 and replace it with .NET Framework 4.6.2 |
Major changes
- Dropped support for .NET Framework 4.0
- Support for setting background color for ReplacementAnnotation
Drop support for .NET Framework 4.0
We have dropped support for .NET Framework 4.0
. .NET Framework 4
assembly was replaced with .NET Framework 4.6.2
in distribution packages. If you’re using earlier versions of .NET Framework
and have any issues with migration please let us know by posting an issue at Free Support Forum and we’ll be happy to help you.
Support for setting background color for ReplacementAnnotation
With this improvement we have added a BackgroundColor property for ReplacementAnnotation.
using (Annotator annotator = new Annotator(Constants.INPUT))
{
ReplacementAnnotation replacement = new ReplacementAnnotation
{
FontColor = Color.Blue.ToArgb(),
PageNumber = 0,
BackgroundColor = Color.Red.ToArgb(),
Points = new List<Point>
{
new Point(80, 730), new Point(240, 730), new Point(80, 650), new Point(240, 650)
},
TextToReplace = "replaced text"
};
annotator.Add(replacement);
annotator.Save(outputPath);
}