use pdf_annot_obj_type for pdf_create_annot_with_appearance