InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IColorGroupMemberList Class Referenceabstract

#include <IColorGroupMemberList.h>

Inheritance diagram for IColorGroupMemberList:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ICOLORGROUPMEMBERLIST }
 

Public Member Functions

virtual int32 CountMembers () const =0
 
virtual void AddMember (UID memberUID, int32 pos=-1)=0
 
virtual void RemoveMember (UID memberUID)=0
 
virtual void RemoveNthMember (int32 pos)=0
 
virtual void RemoveAllMembers ()=0
 
virtual UIDRef GetNthMemberUID (int32 pos) const =0
 
virtual int32 GetMemberPosition (UID memberUID) const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Provides access to the members of a color group.

Member Function Documentation

virtual void IColorGroupMemberList::AddMember (UID memberUID,
int32 pos = -1 
)
pure virtual

Add a member at the specified position in the color group.

Parameters
memberUIDIN the UID of the member that needs to be added.
posIN 0 based position at which to add the member. Specify -1 to add to the end.
virtual int32 IColorGroupMemberList::CountMembers () const
pure virtual

Get the number of members in the color group.

Returns
the number of members in the color group.
virtual int32 IColorGroupMemberList::GetMemberPosition (UID memberUID) const
pure virtual

Get the position of the member in the color group.

Parameters
memberUIDIN the UID of the member in the color group.
Returns
the position of the member.
virtual UIDRef IColorGroupMemberList::GetNthMemberUID (int32 pos) const
pure virtual

Get the Nth member UID from the color group.

Parameters
posIN the 0 based index of the member in the color group.
Returns
the UID of the member.
virtual void IColorGroupMemberList::RemoveAllMembers ()
pure virtual

Remove all members from the color group.

virtual void IColorGroupMemberList::RemoveMember (UID memberUID)
pure virtual

Remove a member from the color group

Parameters
memberUIDIN the UID of the member that needs to be removed.
virtual void IColorGroupMemberList::RemoveNthMember (int32 pos)
pure virtual

Remove a member from the color group.

Parameters
posIN the position of the member in the color group.