ImageSetLinkTypeΒΆ

ImageSetLinkType sets the link type.

bool = ImageSetLinkType(hImg, nLinkType)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

hImg

Identifies the image.

nLinkType

nLinkType is 2 for all version smaller than 4.x. UniPlot 4.x can link or embed images. The following link types are available:

Value Type Meaning
1 Embedded The picture is saved in the IPW/IPZ file.
2 Linked to file Only the link is saved in the IPW/IPZ file.
3 Embedded with link to file The picture is saved in the IPW/IPZ 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 Tools=>More Options.

id-464394