Interface Window
Description
This class describes the attributes of a window.
The window position refers to the upper, left corner of the window from the upper, left corner of the screen.
See Also:
Direct Known Subclasses:
Method Summary
void | |
| Activates the window. |
void | |
| Clears the Creo Parametric window. |
void | |
| Closes the window. |
void | |
| Outputs a standard Creo Parametric raster output file. |
double | |
| Returns the percentage of the graphics window covered by the embedded web browser. |
double | |
| Get method for attribute "GraphicsAreaHeight" The height of the Creo Parametric graphics window without the border. |
double | |
| Get method for attribute "GraphicsAreaWidth" The width of the Creo Parametric graphics window without the border |
double | |
| Get method for attribute "Height" The window height. The size is normalized to values from 0 to 1. |
int | |
| Retrieves the current window identifier. |
| |
| Get method for attribute "Model" The Creo Parametric model that owns the window. This attribute can benull, if there no model that currently owns the window. |
| |
| Get method for attribute "ScreenTransform" The pan and zoom matrix of the window. When you set a window'sScreenTransform, the window updates immediately. Currently, the Get() method only retreives theScreenTransform object for the current Creo Parametric window. |
String | |
| Returns the URL displayed in the embedded web browser. |
double | |
| Get method for attribute "Width" The width of the window. The size is normalized to values from 0 to 1. |
double | |
| Get method for attribute "XPos" The X position of the window. The position is normalized to values from0 to 1. |
double | |
| Get method for attribute "YPos" The Y position of the window. The position is normalized to values from0 to 1. |
void | |
| Refreshes the screen. The function does not clear highlights. This is the most efficient function to use if you want to clear "temporary" graphics only. |
void | |
| Repaints the window. This function enables you to perform several operations and update the view when necessary. |
void | |
| Sets the percentage of the graphics window covered by the embedded web browser. |
void | |
| Set method for attribute "ScreenTransform" The pan and zoom matrix of the window. When you set a window'sScreenTransform, the window updates immediately. Currently, the Get() method only retreives theScreenTransform object for the current Creo Parametric window. |
void | |
| Sets the URL displayed in the embedded web browser. |
Method Detail
GetHeight |
double | GetHeight | () |
The window height. The size is normalized to values from 0 to 1.
User Guide References:
GetWidth |
double | GetWidth | () |
The width of the window. The size is normalized to values from 0 to 1.
User Guide References:
The X position of the window. The position is normalized to values from0 to 1.
User Guide References:
The Y position of the window. The position is normalized to values from0 to 1.
User Guide References:
GetGraphicsAreaHeight |
double | GetGraphicsAreaHeight | () |
The height of the Creo Parametric graphics window without the border.
The height is normalized to a value from 0 to 1.
User Guide References:
GetGraphicsAreaWidth |
double | GetGraphicsAreaWidth | () |
The width of the Creo Parametric graphics window without the border
The width is normalized to a value from 0 to 1.
User Guide References:
GetScreenTransform |
| GetScreenTransform | () |
SetScreenTransform |
void | SetScreenTransform | |
The pan and zoom matrix of the window. When you set a window's ScreenTransform, the window updates immediately.
Currently, the Get() method only retreives the ScreenTransform object for the current Creo Parametric window.
Exceptions thrown (but not limited to):
User Guide References:
The Creo Parametric model that owns the window. This attribute can be null, if there no model that currently owns the window.
User Guide References:
Clears the Creo Parametric window.
User Guide References:
Returns:
Repaints the window. This function enables you to perform several operations and update the view when necessary.
User Guide References:
Returns:
Refreshes the screen. The function does not clear highlights. This is the most efficient function to use if you want to clear "temporary" graphics only.
User Guide References:
Returns:
Closes the window.
• If the current window is the original window created when Creo Parametric started, the function clears the window. Otherwise, the function removes the window from the screen.
• Any work done since the last save will be lost.
• This function does not take effect until control returns to Creo Parametric.
Exceptions thrown (but not limited to):
XToolkitDeadLock - The Creo Parametric user interface is not prepared to handle this request (because it is blocked by another process such as an OLE container activation).
User Guide References:
Returns:
Activates the window.
This method only works in the asynchronous graphics mode. It will throw a
XToolkitBadContext exception, if called in the non-graphic mode.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
Retrieves the current window identifier.
User Guide References:
Returns:
The current window identifier. If the current window is the message area, the method returns -1.
ExportRasterImage |
void | ExportRasterImage | |
Outputs a standard Creo Parametric raster output file.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
ImageFileName
An output filename, including the extension
Instructions
An Raster-Export-Instructions object that controls the Raster-Image export operation. All of these objects inherit from
RasterImageExportInstructions .
Returns:
SetURL |
void | SetURL | (String URL) |
Sets the URL displayed in the embedded web browser.
See Also:
User Guide References:
Parameters:
URL
The URL to display in the browser.
Returns:
Returns the URL displayed in the embedded web browser.
See Also:
User Guide References:
Returns:
The URL.
GetBrowserSize |
double | GetBrowserSize | () |
Returns the percentage of the graphics window covered by the embedded web browser.
Not applicable if browser is open in separate window.
See Also:
User Guide References:
Returns:
The percentage of the window covered, from 0.0 (the browser is minimized) to 100.0 (the browser covers the entire window).
SetBrowserSize |
void | SetBrowserSize | (double BrowserSize) |
Sets the percentage of the graphics window covered by the embedded web browser.
Not applicable if browser is open in separate window.
See Also:
User Guide References:
Parameters:
BrowserSize
The percentage of the window to cover, from 0.0 (the browser is minimized) to 100.0 (the browser covers the entire window).
Returns: