This method of the Direct3d Class creates a Direct3dViewport object. The viewport is associated with a Direct3DDevice object by using the addViewport method.
public Direct3dViewport createViewport();
Returns the Direct3dViewport object if successful; otherwise, returns null.