The viewport's size changed: keeps the scroll position (kept inside the content) at the new size.
public void Resize(double width, double height)
The width in device-independent pixels.
The height in device-independent pixels.