| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > PrintPreviewClass > PrintPreviewClass Methods >====== PrintPreviewClass Functional Organization - Expected Use {{c6h0009.jpg|C6H0009.jpg}} ====== | [[printpreviewclass methods.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[askpage prompt for new report page .htm|{{btn_next_n.gif|Next page}}]] | | || As an aid to understanding the PrintPreviewClass, it is useful to organize its methods into two large categories according to their expected use--the primary interface and the virtual methods. This organization reflects what we believe is typical use of the PrintPreviewClass methods. **Non-Virtual Methods** The Non-Virtual Methods, which you are likely to call fairly routinely from your program, can be further divided into two categories: **Housekeeping (one-time) Use:** | | Init (v) | initialize the PrintPreviewClass object | | | SetPosition | set initial preview window coordinates | | | Display (v) | preview the report | | | Kill (v) | shut down the PrintPreviewClass object | **Occasional Use:** | | SetINIManager | save and restore window coordinates | | | SetPosition | set print preview position and size | | | SetZoomPercentile | set user or standard zoom factor | (v) These methods are also Virtual. **Virtual Methods** Typically you will not call these methods directly--the Display method calls them. However, we anticipate you will often want to override these methods, and because they are virtual, they are very easy to override. These methods do provide reasonable default behavior in case you do not want to override them. | | InitV | initialize the PrintPreviewClass object | | | AskPage | prompt for new report page | | | AskThumbnails | prompt for new thumbnail configuration | | | Display | preview the report | | | Open | prepare preview window for display | | | TakeAccepted | process EVENT:Accepted events | | | TakeEvent | process all events | | | TakeFieldEvent | a virtual to process field events | | | TakeWindowEvent | process non-field events | | | KillV | shut down the PrintPreviewClass object |