iTextSharp.text.pdf.intern.PdfAnnotationsImp.AddAnnotation C# (CSharp) Method

AddAnnotation() public method

public AddAnnotation ( PdfAnnotation annot ) : void
annot iTextSharp.text.pdf.PdfAnnotation
return void
        public void AddAnnotation(PdfAnnotation annot)
        {
            if (annot.IsForm()) {
                PdfFormField field = (PdfFormField)annot;
                if (field.Parent == null)
                    AddFormFieldRaw(field);
            }
            else
                annotations.Add(annot);
        }