#define CastToPDLinkAnnot ( a ) *( PDLinkAnnot *) &( a )
a | The generic annotation or text annotation to cast.
|
A link annotation on a page in a PDF file. You can use any PDAnnot method on a PDLinkAnnot.
Applications can:
To obtain a link annotation, use any of the PDAnnot calls, followed by CastToPDLinkAnnot(). The annotation passed to CastToPDLinkAnnot() must be a link annotation; other annotation types are not converted into link annotations.
typedef OPAQUE_64_BITS PDLinkAnnot;
dashArray and dashArrayLen. This is a normal PostScript dash pattern (an array of on/off stroke lengths used cyclically) except that zero is always used as the offset ( phase) and the number of array entries is limited to PDAnnotMaxDashes. The number of valid dashArray entries is specified by dashArrayLen; a dashArrayLen of 0 specifies a solid border.
| |
|
PDAction PDLinkAnnotGetAction(PDLinkAnnot aLinkAnnot);
aLinkAnnot | IN/OUT The link annotation whose action is obtained.
|
void PDLinkAnnotGetBorder(PDLinkAnnot aLinkAnnot, PDLinkAnnotBorder *border);
aLinkAnnot | IN/OUT The link annotation whose border is obtained.
|
border | IN/OUT (Filled by the method) A pointer to a structure containing the link border. Link corner radii are ignored by the Acrobat viewers.
|
void PDLinkAnnotRemoveAction(PDLinkAnnot aLinkAnnot);
aLinkAnnot | The link annotation whose action is removed.
|
void PDLinkAnnotSetAction(PDLinkAnnot aLinkAnnot, PDAction action);
aLinkAnnot | IN/OUT The link annotation whose action is set.
|
action | IN/OUT The new action for the link annotation.
|
void PDLinkAnnotSetBorder(PDLinkAnnot aLinkAnnot, const PDLinkAnnotBorder *border);
aLinkAnnot | IN/OUT The link annotation whose border is set.
|
border | IN/OUT A pointer to a structure containing the link border. Link corner radii are ignored by the Acrobat viewers.
|
PDAnnotDidChange
| |
PDAnnotWillChange
|