How to remove black border around PdfFreeTextAnnotation.
I have tried this but it didn't work.
// Create a new PdfAnnotationBorder object with a specified width
Spire.Pdf.Annotations.PdfAnnotationBorder border = new Spire.Pdf.Annotations.PdfAnnotationBorder(0f);
// Assign the created font to the font property of the free text annotation
textAnnotation.Font = font;
textAnnotation.TextMarkupColor = Color.Black;
// Assign the created border to the border property of the free text annotation
textAnnotation.Border = border;
// Set the border color of the free text annotation
textAnnotation.BorderColor = Color.Transparent;
// Set the line ending style of the free text annotation to slash
textAnnotation.LineEndingStyle = Spire.Pdf.Annotations.PdfLineEndingStyle.None;
Thanks