No announcement yet.

Certain Annotations Not Displaying

  • Time
  • Show
Clear All
new posts

  • Lisa_lee
    cchiasson ,Thanks for your post.For SDK related questions,please help to write your query to [email protected] or submit a ticket from our online support ticket submit system below:

    And then our SDK department technical support will get in touch with you.

    Leave a comment:

  • cchiasson
    started a topic Certain Annotations Not Displaying

    Certain Annotations Not Displaying

    Foxit ActiveX Control (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


    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.