setCustomPDFInformation

public final void setCustomPDFInformation(String key, String value)

Sets the value of a custom metadata property in the document information dictionary. Custom properties allow storing application-specific metadata in the PDF document beyond the standard fields. Property names are case-sensitive. If the property already exists, its value will be updated. Avoid using property names that conflict with standard PDF metadata fields.

Parameters

key

The name of the custom property to set.

value

The value to assign to the custom property.