str = doc:GetInfoAttr(type)
doc:GetInfoAttr()
gets an attribute value from info dictionary.
When doc:GetInfoAttr()
succeeds, it returns the string value of the info dictionary
element specified by type
. If the information has not been set or an error has occurred, it
returns Nil
.
See doc:SetInfoAttr for possible types that can be passed to this method.
#HPDF_INVALID_DOCUMENT
- An invalid document handle was set.
#HPDF_FAILED_TO_ALLOC_MEM
- Memory allocation failed.
#HPDF_INVALID_PARAMETER
- An invalid type parameter was set.