Hi Ahmed -
Probably you need to start by getting comfortable with doing python programming in Slicer. This tutorial goes through the whole process and even if it has some steps that aren’t exactly what you need it will give you the background you need to understand the documentation and examples:
As I mentioned in response to your previous question, you can control the views by accessing the various associated nodes. Did you try the SetFieldOfView example I sent?