Index

C/C++ Functions

pdPropGetAsRef

DT_ID_SLONG pdPropGetAsRef(DT_PDDOC power_doc, DT_ID_SLONG obj, DT_SLONG name, DT_SLONG* ref_name)

Short Description: Get property by reference

This function retrieves the target property to which the property referenced by the name identifier points to. The target property is normally set by the pdPropAddAsRef or pdPropSetAsRef function.

Parameters

ParameterDescription

power_doc

Handle of the associated Power Engine document.

obj

Object's index in the Power Engine document.

name

A numerical value that identifies the property. Can be a user-defined value or one of the predefined PowerDoc values. For a list of predefined name values, see the pdPropAdd function.

ref_name

A pointer to a variable that will hold the numerical value that identifies the target property. Can be a user-defined value or one of the predefined PowerDoc values. For a list of predefined name values, see the pdPropAdd function.

Return Value

Index of the PowerDoc object that holds the referenced (target) property.

Related Functions

pdPropSetAsRef
pdPropAddAsRef

 

Index