CAnnoData::LoadFromTiff

#include “BiAnno.h”

BOOL LoadFromTiff( LPSTR        lpszFileName,
HBITMAP hBitmap,
UINT          wTag );

Description

Destroys the current annotation object set and loads a new set from the specified Tiff file tag.(to use this function , a Licensed copy of TIFF SDK is required)

Parameters

LPSTR

lpszFileName

Pointer to a null-terminated string, the filename

HBITMAP

hBitmap

Handle of the background bitmap to place the annotation on

UINT

wTag

Number of the tiff tag which contains the annotation info. On wTag=NULL the default tag (32768) is used.

Return value

TRUE if annotation is successfully loaded, FALSE if an error occurred. On TRUE, the CView must be updated.

Programming Notes

None

Code Example                      

            None