VpeGetControlTplVpeObject

<< Click to Display Table of Contents >>

Navigation:  Interactive Objects >

VpeGetControlTplVpeObject

Previous pageReturn to chapter overviewNext page

If the specified control in the document was created from a template using dycodoc and DumpTemplate(), you can retrieve the corresponding VPE Object of the Template (i.e. this is the VPE Object from which the Control was created) using this property.

VpeHandle VpeGetControlTplVpeObject(

VpeHandle hControl,

)

VpeHandle hControl

Control Handle

Returns:

The handle of the corresponding VPE Object in the template from which the specified object in the document was created. If the specified object was not created from a template, NULL is returned.

Remarks:

The function can be used to access VPE Objects within the template directly.
Normally, there is no need to use this property.

 

The function allows that hControl may be NULL, in this case the function returns NULL.

 

See Also:

"Interactive Documents" in the Programmer's Manual.