Add annotationIsExternal property to annotations

This commit is contained in:
Dan Stillman 2021-01-19 22:38:49 -05:00
parent 5266734ac9
commit ebc0ca2462
9 changed files with 117 additions and 7 deletions

View file

@ -952,6 +952,9 @@ async function createAnnotation(type, parentItem, options = {}) {
[314.4, 412.8, 556.2, 609.6]
]
});
if (options.isExternal) {
annotation.annotationIsExternal = options.isExternal;
}
if (options.tags) {
annotation.setTags(options.tags);
}