Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Class d3drmVisualArray

Applications use the methods of the d3drmVisualArray class to organize groups of visual objects.

public class d3drmVisualArray implements Id3drmVisualArray
{
  public void InternalSetObject(IUnknown lpdd);
  public IUnknown InternalGetObject();
  public int GetSize();
  public d3drmVisual GetElement(int index);
}

There are the following methods:
GetElement GetSize

The d3drmVisualArray object is obtained by calling the GetVisuals method.

GetElement

public d3drmVisual GetElement(int index);

Retrieves one of the d3drmVisual objects associated with this object.

Return Value:

Returns the d3drmVisual object if successful, or null otherwise.

ParameterDescription
index Index that identifies the object to return. Must be a value between 0 and one less than the number returned by the GetSize method.


GetSize

public int GetSize();

Retrieves the number of d3drmVisual objects associated with this object.

Return Value:

Returns the number of objects.



Top© 1997 Microsoft Corporation. All rights reserved. Terms of Use.