This method of the Direct3dRMDevice Class retrieves the width, in pixels, of a device. This method is a convenience function.
public int getWidth();
Returns the width.