ImageSetLinkType sets the link type.
bool = ImageSetLinkType(hImg, nLinkType)
If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).
Identifies the image.
nLinkType is 2 for all version smaller than 4.x. UniPlot 4.x can link or
embed images. The following link types are available:
||The picture is save in the IPW file.
||Linked to file
||Only the link is saved in the IPW file.
||Embedded with link to file
||The picture is saved in the IPW file. If the linked file is available the picture will be updated during loading.
If the picture is linked, UniPlot uses the following search strategy to find
the source file of the picture:
- Look for the picture in the directory given by its file name.
- Look for the picture in the directory of IPW file.
- Look for the picture in the directory specified in the dialog