AnnSetPredefinedMetafile method (ILEADRasterAnnotation)
short AnnSetPredefinedMetafile(short nType, long hMetafile); | |
Overview |
Refer to Implementing Annotations. |
Remarks
(Document/Medical only) Changes a predefined metafile.
This method affects the Rubber Stamp tools, the Hotspot objects and the Freehand objects created by the Automation object. For example, if you replace the ANNMETAFILE_APPROVED default metafile with another metafile, then objects created by the automation mode when the ANNTOOL_STAMP_APPROVED tool is set will look like the new metafile.
A predefined metafile can be reset to its original metafile by passing NULL for hMetafile. For example, to reset the Hotspot and Freehand Hotspot predefined metafiles to their original value, do the following:
AnnSetPredefinedMetafile(ANN_METAFILE_HOTSPOT, 0);
See Also