Class PDFNet.UnderlineAnnot
PDFNet.UnderlineAnnot
Constructor Attributes | Constructor Name and Description |
---|---|
An Underline annotation shows as a line segment across the bottom
of a word or a group of contiguous words.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
PDFNet.UnderlineAnnot.create(doc, pos)
Creates a new Underline annotation in the specified document.
|
<static> |
PDFNet.UnderlineAnnot.createFromAnnot(ann)
creates an Underline annotation and initializes it using given annotation object.
|
<static> |
PDFNet.UnderlineAnnot.createFromObj(d)
creates an Underline annotation and initializes it using given Cos/SDF object.
|
Class Detail
PDFNet.UnderlineAnnot(id)
An Underline annotation shows as a line segment across the bottom
of a word or a group of contiguous words.
- Parameters:
- id
Method Detail
<static>
{UnderlineAnnot}
PDFNet.UnderlineAnnot.create(doc, pos)
Creates a new Underline annotation in the specified document.
- Parameters:
- {SDFDoc} doc
- A document to which the Underline annotation is added.
- {rect} pos
- A rectangle specifying the Underline annotation's bounds in default user space units.
- Returns:
- {UnderlineAnnot} A promise that resolves to a newly created blank Underline annotation.
<static>
{UnderlineAnnot}
PDFNet.UnderlineAnnot.createFromAnnot(ann)
creates an Underline annotation and initializes it using given annotation object.
- Parameters:
- {Annot} ann
- Annot object used to initialize the Underline annotation.
- Returns:
- {UnderlineAnnot} A promise that resolves to an object of type: "UnderlineAnnot" (generated documentation)
<static>
{UnderlineAnnot}
PDFNet.UnderlineAnnot.createFromObj(d)
creates an Underline annotation and initializes it using given Cos/SDF object.
- Parameters:
- {Obj} d
- The Cos/SDF object to initialze the annotation with.
- Returns:
- {UnderlineAnnot} A promise that resolves to an object of type: "UnderlineAnnot" (generated documentation)