Package | Description |
---|---|
com.itextpdf.kernel.pdf.annot |
Modifier and Type | Class and Description |
---|---|
class |
PdfCaretAnnotation |
class |
PdfCircleAnnotation |
class |
PdfFileAttachmentAnnotation |
class |
PdfFreeTextAnnotation |
class |
PdfInkAnnotation |
class |
PdfLineAnnotation
The purpose of a line annotation is to display a single straight line on the page.
|
class |
PdfPolyGeomAnnotation |
class |
PdfRedactAnnotation |
class |
PdfSoundAnnotation |
class |
PdfSquareAnnotation |
class |
PdfStampAnnotation |
class |
PdfTextAnnotation |
class |
PdfTextMarkupAnnotation |
Modifier and Type | Method and Description |
---|---|
PdfMarkupAnnotation |
PdfPrinterMarkAnnotation.setArbitraryTypeName(PdfName arbitraryTypeName) |
PdfMarkupAnnotation |
PdfMarkupAnnotation.setBorderEffect(PdfDictionary borderEffect)
Some annotations types ( PdfSquareAnnotation , PdfCircleAnnotation , PdfPolyGeomAnnotation and PdfFreeTextAnnotation ) may have a PdfName.BE entry, which is a border effect dictionary that specifies an effect that shall be applied to the border of the annotations.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setCreationDate(PdfString creationDate)
Sets the date and time when the annotation was created.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setDefaultAppearance(PdfString appearanceString)
The default appearance string that shall be used in formatting the text.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setExternalData(PdfName exData)
Sets an external data dictionary specifying data that shall be associated with the annotation.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setIconName(PdfName name)
The name of an icon that is used in displaying the annotation.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setInReplyTo(PdfAnnotation inReplyTo)
Sets an annotation that this annotation is “in reply to.” Both annotations shall be on the same page of the document.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setIntent(PdfName intent)
Sets a name describing the intent of the markup annotation.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setInteriorColor(float[] interiorColor)
An array of numbers in the range 0.0 to 1.0 specifying the interior color which is used to fill areas specific for different types of annotation.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setInteriorColor(PdfArray interiorColor)
An array of numbers in the range 0.0 to 1.0 specifying the interior color which is used to fill areas specific for different types of annotation.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setJustification(int justification)
A code specifying the form of quadding (justification) that is used in displaying the annotation's text: 0 - Left-justified, 1 - Centered, 2 - Right-justified.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setOpacity(PdfNumber ca)
Sets the constant opacity value that will be used in painting the annotation.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setPopup(PdfPopupAnnotation popup)
Sets a pop-up annotation for entering or editing the text associated with this annotation.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setRectangleDifferences(PdfArray rect)
A set of four numbers describing the numerical differences between two rectangles: the Rect entry of the annotation and another rectangle within that one, which meaning depends on the type of the annotation: for PdfFreeTextAnnotation the inner rectangle is where the annotation's text should be displayed; for PdfSquareAnnotation and PdfCircleAnnotation the inner rectangle is the actual boundaries of the underlying square or circle; for PdfCaretAnnotation the inner rectangle is the actual boundaries of the underlying caret.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setReplyType(PdfName replyType)
Sets the relationship (the “reply type”) between this annotation and one specified by IRT entry (see setInReplyTo(PdfAnnotation) ).
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setRichText(PdfObject richText)
Sets a rich text string (see ISO-320001 12.7.3.4, “Rich Text Strings”) that shall be displayed in the pop-up window when the annotation is opened.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setSubject(PdfString subject)
Sets the text representing a short description of the subject being addressed by the annotation.
|
PdfMarkupAnnotation |
PdfMarkupAnnotation.setText(PdfString text)
Sets the text label that will be displayed in the title bar of the annotation's pop-up window when open and active.
|
Copyright © 1998–2017 iText Group NV. All rights reserved.