An electronic device comprising: a first display means; and a communication means configured to communicate with an external device including second display means; and a control means configured to rotate an image to be displayed on the first display means in a plane parallel to a screen of the first display means in accordance with a rotational angle of the first display means from a reference orientation of the first display means, and rotate an image to be output to the external device in a plane parallel to a screen of the second display means in accordance with the rotational angle of the first display means and a rotational angle of the second display means from a reference orientation of the second display means, the electronic device being characterised in that it further comprises: a first selection means configured to select the rotational angle of the first display means from among a predetermined angle, a first angle rotated from the predetermined angle by a rotational angle of 90 degrees, and a second angle rotated from the predetermined angle by a rotational angle of 270 degrees; and a second selection means configured to select the rotational angle of the second display means of the external device, wherein, in a case where the rotational angle of the first display means that is selected by the first selection means is the predetermined angle, the second selection means cannot select the rotational angle of the second display means and the image to be output to the external device is not rotated, and wherein, in a case where the rotational angle of the first display means that is selected by the first selection means is the first angle or the second angle, the second selection means can select the rotational angle of the second display means. a first display means; and a communication means configured to communicate with an external device including second display means; and a control means configured to rotate an image to be displayed on the first display means in a plane parallel to a screen of the first display means in accordance with a rotational angle of the first display means from a reference orientation of the first display means, and rotate an image to be output to the external device in a plane parallel to a screen of the second display means in accordance with the rotational angle of the first display means and a rotational angle of the second display means from a reference orientation of the second display means, the electronic device being characterised in that it further comprises: a first selection means configured to select the rotational angle of the first display means from among a predetermined angle, a first angle rotated from the predetermined angle by a rotational angle of 90 degrees, and a second angle rotated from the predetermined angle by a rotational angle of 270 degrees; and a second selection means configured to select the rotational angle of the second display means of the external device, wherein, in a case where the rotational angle of the first display means that is selected by the first selection means is the predetermined angle, the second selection means cannot select the rotational angle of the second display means and the image to be output to the external device is not rotated, and wherein, in a case where the rotational angle of the first display means that is selected by the first selection means is the first angle or the second angle, the second selection means can select the rotational angle of the second display means. a first selection means configured to select the rotational angle of the first display means from among a predetermined angle, a first angle rotated from the predetermined angle by a rotational angle of 90 degrees, and a second angle rotated from the predetermined angle by a rotational angle of 270 degrees; and a second selection means configured to select the rotational angle of the second display means of the external device, wherein, in a case where the rotational angle of the first display means that is selected by the first selection means is the predetermined angle, the second selection means cannot select the rotational angle of the second display means and the image to be output to the external device is not rotated, and wherein, in a case where the rotational angle of the first display means that is selected by the first selection means is the first angle or the second angle, the second selection means can select the rotational angle of the second display means.