![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IMONITORINFO } |
Public Member Functions | |
| virtual GSysRect | GetMainScreenRect () const =0 |
| virtual GSysRect | GetScreenRect (const SysPoint &refPoint) const =0 |
| virtual GSysRect | GetPaletteAreaRect () const =0 |
| virtual GSysRect | GetPaletteAreaRect (const SysPoint &refPoint) const =0 |
| virtual GSysRect | GetClientAreaRect () const =0 |
| virtual GSysRect | GetGlobalDocWindowAreaRect () const =0 |
| virtual SysRect | GetLocalDocWindowAreaRect () const =0 |
| virtual void | SetDocWindowAreaRect (const GSysRect &newDocWindowRect)=0 |
| virtual GSysRect | GetBestScreenRect (const SysRect &refRect) const =0 |
| virtual int32 | GetNumberOfMonitors () const =0 |
| virtual PMReal | GetMainScreenPixelsPerInch (bool32 honorUserInterfacePrefs=kTrue) const =0 |
| virtual PMReal | GetScreenPixelsPerInch (const SysPoint &refPoint, bool32 honorUserInterfacePrefs=kTrue) const =0 |
| virtual PMReal | GetScreenPixelsPerInch (const IControlView *view, bool32 honorUserInterfacePrefs=kTrue) 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 |
Returns the bounds of the screen that best encloses the passed-in rectangle
| refRect | IN the rectangle to test |
| pure virtual |
Returns the area of the screen inside the app window and all docked palettes(toolbars, TabStation, etc.)
| pure virtual |
Calculate the effective area of the screen in which to position the document windows. This takes into account Toolbars docked to the app frame NOTE: This area encompasses the entire main monitor minus: Top: the Menubar height (Macintosh) Bottom: a small constant Right: a small constant Additional space for the Dock (Macintosh)
| pure virtual |
Calculate the effective area of the app frame window in which to position the document windows. This is the area within the app window and all docked palettes(toolbars, TabStation) NOTE: This area encompasses the entire client area of the frame window. Macintosh - Main screen minus the menubar and dock (Same as GetPaletteAreaRect()) Windows - The MDI client area of the application.
| pure virtual |
Returns the number of pixels per inch of the main monitor
| honorUserInterfacePrefs | [IN] If true, then look at the IUserInterfacePreferences::GetUseCustomMonitorResolution() function. If it returns true, then return IUserInterfacePreferences::GetCustomMonitorResolution(). Otherwise, use system API calls to determine the resolution. |
| pure virtual |
Get rect for the main screen bounds
| pure virtual |
Returns the number of connected and active monitors
| pure virtual |
Calculate the effective area of the screen in which to position the docking palettes. On the mac, this is the main screen minus the menubar To find the area within the docking palettes, call GetGlobalDocWindowAreaRect()
Calculate the effective area of the screen which contains the passed in point in which to position the docking palettes. On the mac, this is the removes the menubar and dockbar if present
| refPoint | IN The point in question |
| pure virtual |
Returns the number of pixels per inch for the screen which contains the passed in point.
| refPoint | IN The point in question |
| honorUserInterfacePrefs | [IN] If true, then look at the IUserInterfacePreferences::GetUseCustomMonitorResolution() function. If it returns true, then return IUserInterfacePreferences::GetCustomMonitorResolution(). Otherwise, use system API calls to determine the resolution. |
| pure virtual |
Returns the number of pixels per inch for the screen which contains the center point of the passed in view.
| view | IN The view in question |
| honorUserInterfacePrefs | [IN] If true, then look at the IUserInterfacePreferences::GetUseCustomMonitorResolution() function. If it returns true, then return IUserInterfacePreferences::GetCustomMonitorResolution(). Otherwise, use system API calls to determine the resolution. |
Get rect for the screen which contains the passed in point.
| refPoint | IN The point in question |
| pure virtual |
INTERNAL USE ONLY. Set the size of the doc window area. This should only be called by the PaletteMgr after sizing palettes.
| newDocWindowRect | IN new document area bounds |