This method of the Direct3dRMViewport Class retrieves the scaling property used to scale the viewing volume into the larger dimension of the window.
public int getUniformScaling();
Returns true if the viewport scales uniformly; otherwise, returns false.