pdf_read

Reads an existing PDF.

Target type

Signature

1pdf_read(-file::string, -password::string= ?)

Reads an existing PDF.

pdf_read constructs or identifies a LaiRu value type. pdf_read works with structured document or media data. Keep parsing, transformation, and output steps separate enough that each step can be checked on its own.

Parameters

-file
Required value of type string. Supply -file by keyword, keeping the leading hyphen in the call.
-password
Optional value of type string. Supply -password by keyword, keeping the leading hyphen in the call.

Examples

Basic call

1pdf_read(-file='/tmp/form.pdf')
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.