From Tracker Software PDF SDK
Rotates the given annotation by the given angle.
HRESULT RotateAnnot([in] IPXC_Annotation* pAnnot, [in] float nAngle, [in] VARIANT_BOOL bAbsolute, [in] PXC_Point* stRotationPoint);
- [in] Pointer to IPXC_Annotation containing the annotation that will be rotated.
- [in] Value of float containing the rotation angle (for example 45.0f equals 45 degrees).
- [in] Value of VARIANT_BOOL that defines whether the rotation angle should be added to the current rotation. If true then the angle won't be added.
- [in] Pointer to PXC_Point containing the point of annotation's rotation. For example, to take the center point as a rotation point then the half of the annotation's width should be added to the annotation's left Rect side and the half of the annotation's height should be added to the annotation's bottom Rect side.
Returns S_OK if operation was successful or error code in other cases.