Name
annot:SetLineAnnotCaption -- set line annotation caption
Synopsis
status = annot:SetLineAnnotCaption(show, pos, horz, vert)
Function
This method is currently undocumented in libHaru. Complain to the libHaru authors.

The pos argument must be one of the following constants:

 
#HPDF_LINE_ANNOT_CAP_INLINE
#HPDF_LINE_ANNOT_CAP_TOP

Returns #HPDF_OK on success. Otherwise, returns an error code and the error handler is invoked.

Inputs
show
boolean value that indicates whether to show the caption
pos
caption position (see above for possible values)
horz
horizontal offset
vert
vertical offset
Results
status
status code

Show TOC