AnnConvert method (ILEADRasterAnnotation)
short AnnConvert (long hContainer, long nConvert); | |
Overview |
Refer to Implementing Annotations. |
Remarks
Use this method to convert back and forth between container coordinates and client coordinates
The number of elements in the ClientPointX, ClientPointY, ContainerPointX and ContainerPointY arrays must be AT LEAST equal to the value in the PointsCount property.
When nConvert is ANN_CONVERT_TO_CONTAINER, the ClientPointX and ClientPointY arrays must contain valid entries. If this method Returns successfully, ContainerPointX and ContainerPointY will be updated with the converted points.
When nConvert is ANN_CONVERT_TO_CLIENT, the ContainerPointX and ContainerPointY arrays must contain valid entries. If this method Returns successfully, ClientPointX and ClientPointY will be updated with the converted points.
See Also