AnnGetPredefinedMetafile method (Annotation Control)
Builder Syntax |
int AnnGetPredefinedMetafile(int nType, bool &bEnhanced, unsigned hMetaFile) |
Delphi Syntax |
Function AnnGetPredefinedMetafile(nType: L_INT; var bEnhanced: Boolean; hMetaFile: HMETAFILE): L_INT |
Overview |
Refer to Implementing Annotations. |
Remarks
(Document/Medical only) Retrieves a copy of the specified predefined metafile.
The AnnGetPredefinedMetafile method is valid only for the following object types:
Use the AnnGetPredefinedMetafile method to get the default metafiles for these objects. To reset a metafile to its original metafile, call the AnnSetPredefinedMetafile method and pass 0 to hMetafile. When the metafile handle is no longer needed, it must be freed using one of the Microsoft Windows API functions (DeleteMetaFile or DeleteEnhMetaFile).
See Also