Loading files

The Metadata constructor accepts a file path, a binary stream, or a URI, and auto-detects the format. Pass an optional LoadOptions to override the format or supply a password.

LoadOptions propertyTypePurpose
file_formatFileFormatSkip auto-detection by stating the format explicitly.
passwordstrOpen a password-protected document.

For more details, please refer to the following guides: