We are seeing an issue with the FreeTextAnnotations SetLineColor method. When SetLineColor is called, the FreeText annotation loses its FontSize – and it cannot be set again, it will always return zero. Here is the code:
FreeText text = FreeText.Create(doc, textRect);
text.SetFontSize(30);
double fSize = text.GetFontSize(); // fSize is 30
ColorPt cpt = new ColorPt(1, 0, 0);
text.SetLineColor(cpt, 3);