The function returns the unique identifier (HOBJ) of the picture which the current picture is inserted as a subpicture to.
Declaration
HBJ %HI_GetOwnerHBJ(
[BOOL in bPhysical := True]
)
Parameters
bPhysical
If the value of parameter is True, the function returns a basic HOBJ of the picture which the current picture is inserted to. If the value of parameter is False, the function returns a dynamic (unique) HOBJ of the instance picture which the current picture is inserted to.
Description
If the picture is not opened as a subpicture, the return value is 0.
This function exists also in the %HIX_ version. It enables to find out HBJ also from other pictures than the current subpicture. HIX function works unless the picture, addressed via [hobj, instanceId], contains ESL script.
Pridať komentár