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