This method of the Direct3dRMViewport Class retrieves the x-offset of the start of the viewport on a device.
public int getX();
Returns the x-offset.