public static PdfAnnotation CreateSquareCircle(PdfWriter writer, Rectangle rect, string contents, bool square)
{
PdfAnnotation annot = new PdfAnnotation(writer, rect);
if (square)
annot.Put(PdfName.SUBTYPE, PdfName.SQUARE);
else
annot.Put(PdfName.SUBTYPE, PdfName.CIRCLE);
annot.Put(PdfName.CONTENTS, new PdfString(contents, PdfObject.TEXT_UNICODE));
return annot;
}