adspace


what is the difference between the codes written in the
document class and view class

Answer Posted / mohanavel

The Document class supports objects used to store or
control your program's data and provides the basic
functionality for programmer-defined document classes. A
document represents the unit of data that the user
typically opens with the Open command on the File menu and
saves with the Save command on the File menu.

The View class provides the basic functionality for
programmer-defined view classes. A view is attached to a
document and acts as an intermediary between the document
and the user: the view renders an image of the document on
the screen and interprets user input as operations upon the
document. The view also renders the image for both printing
and print preview.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category