Operation: GetMetadata
The GetMetadata
operation reads the metadata of a PDF file.
Input
PDF in PDF format
The following input XML document contains the path to a PDF document in the repository.
<?xml version="1.0" encoding="UTF-8"?>
<PDF url="xstore://Project/Folder/Input.pdf"/>
PDF in Base64 format
The following input XML document contains the Base64 string.
<?xml version="1.0" encoding="UTF-8"?>
<PDF encoding="base64">
Base64-Zeichenkette
</PDF>
Output
If the ToXML
parameter is disabled, the output looks like follows:
Output at parameter ToXML: yes
{CreationDate=D:20210610111922+02'00', ModDate=D:20210610111922+02'00'}
If the ToXML
parameter is enabled, the output looks like follows:
Output at parameter ToXML: yes
<?xml version="1.0" encoding="UTF-8"?>
<Metadata>
<CreationDate>D:20210610111922+02'00'</CreationDate>
<ModDate>D:20210610111922+02'00'</ModDate>
</Metadata>