switch (commentAnnot.GetType())
case Annot.Type.e_Text:
case Annot.Type.e_Highlight:case Annot.Type.e_Line:case Annot.Type.e_Squiggly:case Annot.Type.e_Underline:case Annot.Type.e_FreeText:case Annot.Type.e_Caret:commentAnnot.SetBorderStyle(new Annot.BorderStyle(Annot.BorderStyle.Style.e_dashed, 1));
commentAnnot.RefreshAppearance();
How about using annot.SetBorderStyle(bs).pdftron.PDF.Annot.BorderStyle:Don't forget to call annot.RefreshAppearance() any time you finish modifying properties on an annotation
On Monday, November 4, 2013 2:53:56 PM UTC-8, BMW wrote: