Foxit ActiveX Control 5.3.0.522 (Pro Version)
SAP PowerBuilder 12.5
I am trying to programmatically annotate a PDF with a graph background to display retrieved data as a PolyLine or a Pencil annotation (with data points as vertices). The default PolyLine is displaying properly, however SetPolygonVertices fails. The opposite is true for Pencil annotations where SetPencilVertices is passing but the default pencil annotation is not showing up despite returning a non-null object. Examples of how I'm initializing the pencil and polyline annotations are displayed below:
ole_line = ole_annot.AddAnnot(rs_null,"Pencil",0,0,lg_page_wi dth,lg_page_height) //doesn't display but passes
lg_index = ole_line.SetPencilVertices(REF lg_ref,6) //passes
vs
ole_line = ole_annot.AddAnnot(rs_null,"PolyLine",0,0,lg_page_ width,lg_page_height) //displays
lg_index = ole_line.SetPolygonVertices(REF lg_ref,6) //fails
Does SetPolygonVertices not apply to PolyLine annotation subtypes? Is there a reason for Pencil annotations to not be displaying but PolyLines, Lines, Arrows, Ellipses, etc are displaying fine? Thanks in advance.
Does SetPolygonVertices not apply to PolyLine annotation subtypes? Is there a reason for Pencil annotations to not be displaying but PolyLines, Lines, Arrows, Ellipses, etc are displaying fine? Thanks in advance.
Comment