[Visual Basic] ButtonAnnotation(doc As Doc,
rect As XRect, caption As string)
Params
Name
Description
doc
Doc
rect
Location for the annotation
caption
Caption for button
Notes
Add button annotation to the current page of the doc.
Note that the annotation created using this constructor is
meaningless until it is connected with a Field. For this reason you are likely
to want to use Doc.Form.AddButton
rather than this call.