How to change the zoom level when running pvbatch script

I have created a Paraview state file .pvsm. When I ran a python script that loads the state file and saves an animation the zoom level is different than then one when I was creating the state file in Paraview. Is it possible to change the zoom level?

from paraview.simple import *
  
LoadState("Wfield_filaments.pvsm")

renderView1 = GetActiveViewOrCreate('RenderView')
renderView1.ViewSize = [1200, 600]

renderView1.ResetCamera()
renderView1.Update()

SaveAnimation(
    "Wfield_filaments_view01.png"
    , ImageResolution=[1200, 600]
)

I tried changing the camera position and focal points but it didn’t seem to change anything.

This method has a zoomFactor parameter, use it ?

The problem was renderView1.ResetCamera()

it was resetting the camera view undoing all the changes.

What is the zoomFactor parameter?