Skip to content
Kernstra
Docs
Web SDK
v1.0.0
/
Nothing matches “
”. Try an option name like
accentColor
or a method like
goToPage
.
Search could not load. Type again to retry.
Get started
(opens in a new tab)
Changelog
(opens in a new tab)
Playground
(opens in a new tab)
JavaScript PDF viewer
(opens in a new tab)
Get a free key
(opens in a new tab)
Docs
›
Web SDK
›
SDK API
›
PDFDocument
PDFDocument.hasPassword
Whether the document was opened with a password.
getter
Properties
since 1.0.0
Copy link to this page
Signature
Copy link
get
hasPassword
():
boolean
Returns
Copy link
boolean
More in PDFDocument
Copy link
fromUrl
fromFile
fromBytes
fromUrlProgressive
pageCount
metadata
pdfA
isClosed
containsJavaScript
isProgressive
isFullyLoaded
loadedByteLength
save
close
whenFullyLoaded
isPageReady
ensurePageAvailable
pages
annotations
forms
text
security
outline
attachments
signatures
Previous
pdfA
Next
isClosed