Cicode Programming Reference > Cicode Function Categories > Display Functions > DspSetMetadataFromNameRelative

DspSetMetadataFromNameRelative

Name used to set the metadata of an object on the page relative to the given AN. Use the following syntax:

[RelativePath].[Group].[Group].Control

This will browse the group hierarchy to the given AN, and then drill down to other groups to find the named control or object.

See Referencing an object using a name at runtime for more information.

Syntax

DspSetMetadataFromNameRelative(hAN, sName, sMetaName, sValue)

hAN

AN used as the starting point for the search of the object name.

sName

The Name used as a reference for the object.

sMetaName

The Name of the metadata to be returned.

sValue

The Name of the metadata to be returned.

Return Value

The value of the metadata or error code

Related Functions

DspGetMetadataFromNameRelative

See Also

Display Functions

Published June 2018