DR Developer's Guide
DR Interfaces | DR Methods | DR Types and Misc API

IID_IMuiPropertyPageTarget

Interface ID: IID_IID_IMuiPropertyPageTarget
Class ID: CID_IMuiPropertyPageTarget
Pointer type: PIID_IMuiPropertyPageTarget
Inheritance: IMoaUnknown
Header file: muippage.h

Description

The IMuiPropertyPageTarget interface creates an abstraction layer above the object or group of objects targeted by the Property page (see IMuiPropertyPage). This layer of abstraction creates a generic interface for accessing multiple targeted objects. When the Property page targets multiple objects, a single call to this interface allows you to set the properties for all of the objects at the same time.

Methods

GetNthTarget()Allows developers to access specific individual targeted objects when more than one object is targeted.
GetTargetCount() Determines how many items the Property inspector is currently targeting.
GetProp() Returns the value of a particular property for all of the targeted objects.
SetProp() Sets the value of a particular property for all of the targeted objects.

GetNthTarget()

Syntax
GetNthTarget(MoaLong index, PIMoaUnknown * ppTarget)
Parameters
index
The index of the targeted object to be retrieved. Targeted objects use a zero-based index.
ppTarget
A pointer to a PIMoaUnknown* interface for the targeted object (ppTarget) specified in the arguments.
Returns
MoaError
Description
Call this method to gain access to individual targeted objects. This interface can be queried to provide access for other interfaces such as the IMoaMmXAsset interface, or a private interface supported by the asset.

GetProp()

Syntax
GetProp(MoaMmSymbol property, PMoaMmValue pValue)
Parameters
property
A pointer to a specific MoaMmSymbol property.
pValue
The parameter by which the value of the property being queried is returned.
Returns
MoaError
Description
Call this method to query the value of a particular property for all currently targeted objects. If all of the objects have the same value for the specified property, the value of that property is put into pResult. If all of the objects have different values, the type of pResult is void with a Null value.

GetTargetCount()

Syntax
GetTargetCount(PMoaLong pCount)
Parameters
pCount
A pointer to a MoaLong.
Returns
MoaError
Description
Call this method to determine the number of objects currently targeted by the Property inspector.

SetProp()

Syntax
SetProp(MoaMmSymbol property, ConstPMoaMmValue pValue)
Parameters
property
The property to be set.
pValue
A pointer to a value for the property being set.
Returns
MoaError
Description
Call this method to set the value of a particular property for all of the currently targeted objects.

Copyright © 1995-2008 Adobe Macromedia Software LLC, Inc.