Name
annot:SetBorderStyle -- set appearance of text annotation
Synopsis
status = annot:SetBorderStyle(subtype, width, dashon, dashoff, dashphase)
Function
annot:SetBorderStyle() defines the appearance of a text annotation. subtype must be one of the following constants:

#HPDF_BS_SOLID:
Solid rectangle

#HPDF_BS_DASHED:
Dashed rectangle

#HPDF_BS_BEVELED:
Embossed rectangle

#HPDF_BS_INSET:
Engraved rectangle

#HPDF_BS_UNDERLINED:
Single line under the bottom of the annotation

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

Inputs
subtype
one of the constants listed above
width
the width of an annotation's border
dashon
the dash style
dashoff
the dash style
dashphase
the dash style
Results
status
status code

Show TOC