Photo_Editor_Application.Picture.CropImage Function
Method called from CropDialog. The current shown image is cropped to the size provided in the parameters. The cropping is done with a rectangle whose center is put on the center of the image.

Public void CropImage (int, int)
  Type Name Description  
    int newWidth width of the cropped image  
    int newHeight height of the cropped image  
  Return Description  
    void