Name
  doc:GetInfoAttr -- get text from info dictionary
Synopsis

      str = doc:GetInfoAttr(type)

Function
  `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.

Inputs
  type
    info dictionary element to query
Results
  str
    text of info dictionary element
Errors
  `#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.

Show TOC