AnnLoadMemory method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnLoadMemory(LEADTyp::L_HANDLE hMem, int iSize, int nPage);

Delphi Syntax

Function AnnLoadMemory( hMem: L_HANDLE; iSize: longint; nPage: Integer): Integer;

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 multi-page) or a TIF file (single or multi-page). In either case, the argument nPage 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 LEADAnn Control does not have a bitmap image, an error occurs.

See Also

Topics:

Annotations (Document/Medical only): Input and Output