![]() | InDesign SDK 20.5 |
#include <IZoomWinCmdData.h>

Public Types | |
| enum | ZoomDirection { kZoomOut, kZoomIn } |
Public Member Functions | |
| virtual void | Set (IWindow *win, const ZoomDirection &zoomDir)=0 |
| virtual IWindow * | GetWindow () const =0 |
| virtual ZoomDirection | GetZoomDirection () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This interface is used to cache the data for kZoomToCmdBoss.
One of the command data is the zoom direction(zoom in or zoom out), the other is the window that we operate on.
Define enumerated ZoomDirection(kZoomOut = zoom out, kZoomIn = zoom in).
| pure virtual |
Get the window we operate on.
| pure virtual |
Get zoom direction.
| pure virtual |
Set the command data(window and zoom direction).
| win | refers to the window we operate on. |
| zoomDir | refers to the zoom direction(zoom in or zoom out). |