add structred id to image annotations
This commit is contained in:
@@ -217,8 +217,9 @@ function isSignature(annotation) {
|
||||
return !!annotation.isSignature || annotation.description == 'FRAME'
|
||||
}
|
||||
|
||||
function createImageAnnotation(boundingBox, pageIndex, imageAttachmentId) {
|
||||
function createImageAnnotation(boundingBox, pageIndex, imageAttachmentId, envelopeId, receiverId, annotationType) {
|
||||
const frameAnnotation = new PSPDFKit.Annotations.ImageAnnotation({
|
||||
id: generateId(envelopeId, receiverId, annotationType),
|
||||
pageIndex: pageIndex,
|
||||
isSignature: false,
|
||||
readOnly: true,
|
||||
|
||||
Reference in New Issue
Block a user