Category Windows and views, Object ProGraphic

Function ProGraphicWindowSizeGet


Description
Returns the size of the Creo Parametric graphics window. The size is normalized to values from 0 to 1. This is the size of the window without the border.
Replacement in Object TOOLKIT: pfcWindow::GraphicsAreaHeight
pfcWindow::GraphicsAreaWidth
Synopsis
#include <ProWindows.h>
ProErrorProGraphicWindowSizeGet(
int win_id
/* (In)
The identifier of the Creo Parametric window
*/
double* width
/* (Out)
The width of the window
*/
double* height
/* (Out)
The height of the window
*/
)
Returns
PRO_TK_BAD_INPUTSThe function could not find the size of the specified window.
PRO_TK_NO_ERRORThe function successfully returned values.

Manual References:

  1. User Interface: Basic Graphics: Resizing Windows
  2. User Interface: Basic Graphics: Resizing Windows