Click or drag to resize

PreviewHandler Methods

The PreviewHandler type exposes the following members.

Methods
  NameDescription
Protected methodDoPreview
Directs the preview handler to load data from the source specified in an earlier initialization call, and to begin rendering to the previewer window.
Public methodRegisterInProcess
Registers this handler in the registry as In-Process.
(Inherited from Handler.)
Public methodRegisterOutOfProcess
Registers this handler in the registry as Out-Of-Process.
(Inherited from Handler.)
Protected methodSetBackgroundColor
Sets the background color of the preview handler.
Protected methodSetFocus
Directs the preview handler to set focus to itself.
Protected methodSetFont
Sets the font attributes to be used for text within the preview handler.
Protected methodSetParentBounds
Directs the preview handler to change the area within the parent window handle that it draws into.
Protected methodSetParentWindow
Sets the parent window of the previewer window, as well as the area within the parent to be used for the previewer window.
Protected methodSetTextColor
Sets the color of the text within the preview handler.
Protected methodTrace
Sends a text to trace.
(Inherited from Handler.)
Protected methodTranslateAcceleratorW
Directs the preview handler to handle a keystroke passed up from the message pump of the process in which the preview handler is running.
Protected methodUnload
Directs the preview handler to cease rendering a preview and to release all resources that have been allocated based on the item passed in during the initialization.
Public methodUnregister
Unregisters this handler from the registry.
(Inherited from Handler.)
Top
See Also