Look at the documentation for the PDPageAddNewAnnot() API. You will see that the third parameter is the type of annotation.
Consult ISO 32000-1:2008, 12.5 on Annotations.
Look at the documentation for the PDPageAddNewAnnot() API. You will see that the third parameter is the type of annotation.
Consult ISO 32000-1:2008, 12.5 on Annotations.