Name
annot:SetMarkupAnnotIntent -- set markup annotation intent
Synopsis
status = annot:SetMarkupAnnotIntent(intent)
Function
This method is currently undocumented in libHaru. Complain to the libHaru authors.

The intent parameter must be one of the following constants:

 
#HPDF_ANNOT_INTENT_FREETEXTCALLOUT
#HPDF_ANNOT_INTENT_FREETEXTTYPEWRITER
#HPDF_ANNOT_INTENT_LINEARROW
#HPDF_ANNOT_INTENT_LINEDIMENSION
#HPDF_ANNOT_INTENT_POLYGONCLOUD
#HPDF_ANNOT_INTENT_POLYLINEDIMENSION
#HPDF_ANNOT_INTENT_POLYGONDIMENSION

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

Inputs
intent
desired intent (see above for possible values)
Results
status
status code

Show TOC