Doc.getInfoAttr

Gets an attribute value from info dictionary.

class Doc
string
getInfoAttr
(
HaruInfoType type
)

Parameters

type HaruInfoType

one of the following:

  • HaruInfo.author
  • HaruInfo.creator
  • HaruInfo.title
  • HaruInfo.subject
  • HaruInfo.keywords

Return Value

Type: string

when succeeds, it returns the string value of the info dictionary. If the infomation has not been set or an error has occurred, it returns null.

Meta