Package com.ms.com.directX |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
Applications use the methods of the d3drmViewportArray class to organize viewport objects.
public class d3drmViewportArray implements Id3drmViewportArray { public void InternalSetObject(IUnknown lpdd); public IUnknown InternalGetObject(); public int GetSize(); public d3drmViewport GetElement(int index); }
There are the following methods:
GetElement |
GetSize |
The d3drmViewportArray object is obtained by calling the CreateFrame method.
public int GetSize();Returns the number of d3drmViewport objects associated with this object.
Return Value:
Returns the number of objects.
public d3drmViewport GetElement(int index);Returns one of the d3drmViewport objects associated with this object.
Return Value:
Returns the d3drmViewport object if successful; null otherwise.
Parameter Description index Identifies the object to return. Must be a value in the range 0 to one less than the number returned by the GetSize method.