12-37 -setCustomProperty: Setting Custom Properties

Processing

Set custom properties in document information.

Example of commands

[Executing example commands]

Set custom properties with the following names and values in "test.pdf" and output.

  • Name: Product Code
  • Value: 0001

[Windows]

AHPDFToolCmd80.exe -setCustomProperty -name "Product Code" -value "0001" -d C:\test\test.pdf -o C:\sav\out.pdf

[Linux]

AHPDFToolCmd80 -setCustomProperty -name "Product Code" -value "0001" -d /home/antenna/test/test.pdf -o /home/antenna/sav/out.pdf

Folder settings: applied

You can perform batch processing by specifying the input folder to the -d parameter and the output folder to the -o parameter.

If a folder is specified, the same custom properties will be set for all PDF files in the input folder. Note that the output file will be output to the output folder with the same name as the input file name.

Parameters

Parameter

Content

-name <Val>

[required]

Custom property name.

-value <Val>

[required]

Custom property value.

Please enter alt text.