示例#1
0
 /// <summary>
 /// Sets an annotation that this annotation is "in reply to."
 /// Both annotations shall be on the same page of the document.
 /// </summary>
 /// <remarks>
 /// Sets an annotation that this annotation is "in reply to."
 /// Both annotations shall be on the same page of the document.
 /// The relationship between the two annotations shall be specified by the RT entry
 /// (see
 /// <see cref="GetReplyType()"/>
 /// ).
 /// </remarks>
 /// <param name="inReplyTo">
 /// a
 /// <see cref="PdfAnnotation"/>
 /// that this annotation is "in reply to."
 /// </param>
 /// <returns>
 /// this
 /// <see cref="PdfMarkupAnnotation"/>
 /// instance.
 /// </returns>
 public virtual iText.Kernel.Pdf.Annot.PdfMarkupAnnotation SetInReplyTo(PdfAnnotation inReplyTo)
 {
     this.inReplyTo = inReplyTo;
     return((iText.Kernel.Pdf.Annot.PdfMarkupAnnotation)Put(PdfName.IRT, inReplyTo.GetPdfObject()));
 }
 public virtual iText.Kernel.Pdf.Annot.PdfPopupAnnotation SetParent(PdfAnnotation parent)
 {
     this.parent = parent;
     return((iText.Kernel.Pdf.Annot.PdfPopupAnnotation)Put(PdfName.Parent, parent.GetPdfObject()));
 }