Close the parser.
Close the parser, as well as the file. If reparsing is used, the document will be kept. Default is false.
Destroy the current object.
Get the last object number.
Return the last object number.
Get the password.
Return the password.
Get the root object number.
Return the root object number.
Whether the user has the owner permission of the document.
Return true if the user has the owner permission of the document, otherwise return false.
Set the password.
The password to be set.
Start parse the file.
The file path, eg. d://xxx.pdf.
Whether to re-parse, default is false.
Return the status of PDF parse. Like:
StaticcreateCreate a Parser instance.
Optionaloptions: OptionsCreate a Parser instance with the specified options.
Create a Parser instance. Instead of creating an instance in new mode, use create to create an instance.