AnnLoadMemory method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short AnnLoadMemory (OLE_HANDLE hMem, long iSize, long iPage);

Overview:  Refer to Implementing Annotations.

Remarks

(Document/Medical only) Loads annotations from a file that is stored in memory.

The argument hMem can refer to 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.

See Also

Topics:  Annotations (Document/Medical only): Input and Output