Object PmViewCreator (Opening the viewer)
Description:
The object allows to open the various viewers.
The object is used for gathering information that is needed for proper opening of the viewer. The viewer itself is then opened by calling the
Open method.
Properties and methods:
Frame | Returns the PmMap object that contains parameters for the frame where the viewer will be displayed |
From | The object, which will mediate the opening of the viewer.
The object specifies the origin of the path, the relative position of the window, the parent, etc. |
Open() | Opens the viewer defined in the PmViewCreator.ViewPath property |
View | Viewer parameters (they differ for various viewer types) |
ViewPath | Path (relative or absolute) to the object or component whose viewer will be opened. |
Note:
Caution!
The
PmViewCreator object will be emptied right after the script is finished (where it was created by the
Pm.CreateView method), or after calling the
PmViewCreator.Open method. Therefore it is not possible to prepare it in advance for later use.
List of viewers that can be opened by means of the PmViewCreator object: