/// <summary>
 /// Sets an additional
 /// <see cref="iText.Kernel.Pdf.Action.PdfAction"/>
 /// to this annotation which will be performed in response to
 /// the specific trigger event defined by
 /// <paramref name="key"/>
 /// . See ISO-320001 12.6.3, "Trigger Events".
 /// </summary>
 /// <param name="key">
 /// a
 /// <see cref="iText.Kernel.Pdf.PdfName"/>
 /// that denotes a type of the additional action to set.
 /// </param>
 /// <param name="action">
 ///
 /// <see cref="iText.Kernel.Pdf.Action.PdfAction"/>
 /// to set as additional to this annotation.
 /// </param>
 /// <returns>
 /// this
 /// <see cref="PdfWidgetAnnotation"/>
 /// instance.
 /// </returns>
 public virtual iText.Kernel.Pdf.Annot.PdfWidgetAnnotation SetAdditionalAction(PdfName key, PdfAction action
                                                                               )
 {
     PdfAction.SetAdditionalAction(this, key, action);
     return(this);
 }
Example #2
0
 public virtual iText.Kernel.Pdf.PdfCatalog SetAdditionalAction(PdfName key, PdfAction action)
 {
     PdfAction.SetAdditionalAction(this, key, action);
     return(this);
 }