The LinkSet function changes an existing link within the PowerDoc object referenced by obj.
Parameter | Description |
---|---|
obj |
Object's index in the Power Engine document. |
name |
A numerical value that identifies the link to be changed. Can be a user-defined value or one of the predefined PowerDoc values. For a list of predefined name values, see the LinkAdd function. |
link |
Represents the index of the linked PowerDoc object. |
If the function was successful, the return value is 1. Otherwise, the function returns 0 (bad input) or -1 (memory error).
To avoid unexpected rendering results, links must be assigned to PowerDoc objects in accordance with D-Type's Guidelines For Creating PowerDoc Objects.