AnnLoad method (Main Control)
Visual Basic
example
Visual C++ 4.0 example
Visual J++ example
Syntax short AnnLoad (BSTR pszFile, long lPage);
Overview: Refer to Implementing Annotations.
Remarks
(Document/Medical only) Loads the annotations from the designated file and page.
The argument pszFile can be either an annotation file (single page or multipage) or a TIF file (single or multipage). In either case, the argument lPage refers to the page number.
The annotations are sized to fit their original size and position relative to the bitmap in the control. If the Main Control does not have a bitmap image, an error occurs. AnnLoad will load annotations stored in LEAD files. It will also load annotations stored in a Wang compatible TIFF tag in a TIF file.
See Also
Elements: AnnSave method
Topics: Annotations (Document/Medical only): Input and Output