A method for storing user data corresponding to an input using an electronic pen by an electronic device which provides a display region on a display, the method comprising: receiving, through a communication module of the electronic device, a first event signal from the electronic pen; operating in a first mode in response to the first event signal, wherein the first event signal is generated when a member provided in the electronic pen is pressed; obtaining first user data corresponding to a first pen input, upon sensing, through a pen sensing module stacked with the display, the first pen input using the electronic pen against the display region where first screen data is displayed in the first mode, wherein the first screen data is screen data enlarged at a first magnification; displaying second screen data in the display region based on a user input against the display region, wherein the user input is a zoom-in or a zoom out gesture and the second screen data is the screen data enlarged at a second magnification; obtaining second user data corresponding to a second pen input, upon sensing, through the pen sensing module, the second pen input using the electronic pen against the display region where the second screen data is displayed in the first mode; receiving a second event signal through the communication module from the electronic pen after the first user data and the second user data are obtained, wherein the second event signal corresponds to the first event signal and is generated when the member is pressed; and storing the first user data associatively with the second user data comprises storing entire screen data including the first screen data and the second screen data overlappingly with the first user data and the second user data; wherein the storing of the first user data associatively with the second user data comprises storing the first user data associatively with the second user data in a structure sequentially connected according to a magnification, where the first screen data is an enlarged content display screen at a first magnification stored overlappingly with the first user data, and the second screen data is an enlarged content display screen enlarged at a second magnification stored overlappingly with the second user data. receiving, through a communication module of the electronic device, a first event signal from the electronic pen; operating in a first mode in response to the first event signal, wherein the first event signal is generated when a member provided in the electronic pen is pressed; obtaining first user data corresponding to a first pen input, upon sensing, through a pen sensing module stacked with the display, the first pen input using the electronic pen against the display region where first screen data is displayed in the first mode, wherein the first screen data is screen data enlarged at a first magnification; displaying second screen data in the display region based on a user input against the display region, wherein the user input is a zoom-in or a zoom out gesture and the second screen data is the screen data enlarged at a second magnification; obtaining second user data corresponding to a second pen input, upon sensing, through the pen sensing module, the second pen input using the electronic pen against the display region where the second screen data is displayed in the first mode; receiving a second event signal through the communication module from the electronic pen after the first user data and the second user data are obtained, wherein the second event signal corresponds to the first event signal and is generated when the member is pressed; and storing the first user data associatively with the second user data comprises storing entire screen data including the first screen data and the second screen data overlappingly with the first user data and the second user data; wherein the storing of the first user data associatively with the second user data comprises storing the first user data associatively with the second user data in a structure sequentially connected according to a magnification, where the first screen data is an enlarged content display screen at a first magnification stored overlappingly with the first user data, and the second screen data is an enlarged content display screen enlarged at a second magnification stored overlappingly with the second user data.