status = annot:SetFreeTextAnnotLineEndingStyle(startstyle, endstyle)
The parameters startstyle
and endstyle
must be one of the following constants:
#HPDF_LINE_ANNOT_NONE #HPDF_LINE_ANNOT_SQUARE #HPDF_LINE_ANNOT_CIRCLE #HPDF_LINE_ANNOT_DIAMOND #HPDF_LINE_ANNOT_OPENARROW #HPDF_LINE_ANNOT_CLOSEDARROW #HPDF_LINE_ANNOT_BUTT #HPDF_LINE_ANNOT_ROPENARROW #HPDF_LINE_ANNOT_RCLOSEDARROW #HPDF_LINE_ANNOT_SLASH |
Returns #HPDF_OK
on success. Otherwise, returns an error code and the error handler is invoked.