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

Public Member Functions | |
| virtual void | Set (IWindow *win, const SysCoord &width, const SysCoord &height)=0 |
| virtual IWindow * | GetWindow () const =0 |
| virtual void | GetDimensions (SysCoord &width, SysCoord &height) const =0 |
| virtual void | GetDimensionsDelta (SysCoord &widthDelta, SysCoord &heightDelta) 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 kResizeWinCmdBoss.
The command data includes: 1) window that we operate on; 2) width of the window we resize to; 3) height of the window we resize to.
| pure virtual |
Get the window's dimension(width/height) which is passed out through parameters(width/height).
| width | pass out the width of the window we resize to. |
| height | pass out the height of the window we resize to. |
| pure virtual |
Get the delta of window's dimension which is passed out through parameters(widthDelta/heightDelta).
| widthDelta | pass out the delta of window's width which refers to (newWidth - oldWidth). |
| heightDelta | pass out the delta of window's height which refers to (newHeight - oldHeight). |
| pure virtual |
Get the window we operate on.
| pure virtual |
Set the command data(window, width/height of window).
| win | refers to the window we operate on. |
| width | refers to the width of the window we resize to. |
| height | refers to the height of the window we resize to. |