pdf-lite - v1.5.0
Preparing search index...
annotations/pdf-annotation-writer
PdfAnnotationWriter
Class PdfAnnotationWriter
Manages page Annots arrays during AcroForm write operations.
Index
Constructors
constructor
Methods
add
Fields
To
Annots
get
Page
Annots
Array
update
Page
Annotations
Constructors
constructor
new
PdfAnnotationWriter
()
:
PdfAnnotationWriter
Returns
PdfAnnotationWriter
Methods
Static
add
Fields
To
Annots
addFieldsToAnnots
(
annotsArray
:
PdfArray
<
PdfObjectReference
>
,
fieldRefs
:
PdfObjectReference
[]
,
)
:
void
Parameters
annotsArray
:
PdfArray
<
PdfObjectReference
>
fieldRefs
:
PdfObjectReference
[]
Returns
void
Static
get
Page
Annots
Array
getPageAnnotsArray
(
document
:
PdfDocument
,
pageDict
:
PdfDictionary
,
)
:
Promise
<
{
annotsArray
:
PdfArray
<
PdfObjectReference
>
;
generationNumber
?:
number
;
isIndirect
:
boolean
;
objectNumber
?:
number
;
}
,
>
Parameters
document
:
PdfDocument
pageDict
:
PdfDictionary
Returns
Promise
<
{
annotsArray
:
PdfArray
<
PdfObjectReference
>
;
generationNumber
?:
number
;
isIndirect
:
boolean
;
objectNumber
?:
number
;
}
,
>
Static
update
Page
Annotations
updatePageAnnotations
(
document
:
PdfDocument
,
fieldsByPage
:
Map
<
string
,
{
fieldRefs
:
PdfObjectReference
[]
;
pageRef
:
PdfObjectReference
}
,
>
,
)
:
Promise
<
void
>
Parameters
document
:
PdfDocument
fieldsByPage
:
Map
<
string
,
{
fieldRefs
:
PdfObjectReference
[]
;
pageRef
:
PdfObjectReference
}
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
Fields
To
Annots
get
Page
Annots
Array
update
Page
Annotations
pdf-lite - v1.5.0
Loading...
Manages page Annots arrays during AcroForm write operations.