AnnLoadArray method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short AnnLoadArray (VARIANT vMem, 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 vMem 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.

This method operates like AnnLoadMemory, except it loads the data from a byte array variant instead of a memory handle.

See Also

Elements:  AnnSaveArray method, AnnLoadMemory method, AnnSaveMemory method, AnnLoad method, AnnSave method

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