> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface PHXDATAEXPLORERLib::_DPHXDataExplorer

![][IDL]
![][public]

**Definition**: `LIBS/DataExplorer/PHXDataExplorer/PHXDataExplorer.odl` (line 35)

The Data Explorer object represents a Data Explorer window, the enclosed Data History, all the pages, and associated meta-data. This API supercedes the Data Collector API (which still works for backwards compatibility).

## Members

* [addPage](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1af65679f9d81fa741896f22fb959f81d1)
* [addRunsToComparisonList](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a7e608fa73c8645388956a6c1538438af)
* [addToComparisonList](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a2b46272c7cead32a5f75319eecddbc87)
* [associatedModelFile](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a145b2ba8b5de9c0bac5b0ac89ad7f960)
* [associatedModelFileUUID](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1ad91c318a844622c7673df74c0f92128b)
* [author](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a8acab1f7a5d2caa0ab47d0d74247497e)
* [creationDate](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a4e0ab1e84c6e9f6ddd62ec774c75f42c)
* [description](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a29b8b160371c7db191f6e3dd0e1fc414)
* [displayName](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a5f8b196a046e313bc7d50d6ac80ec29d)
* [ensureRunDataAction](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1ab5a2bb675d76aca81691538b7ef55ef9)
* [exportImage](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a2dc01f47f79342cc3893c66a8be1fb12)
* [fromCenterLink](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1ab68593eb479ef9f2684e7e8e683ed0bd)
* [fromXML](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1aef1e4bfd5cd8b8e28d6e26b06483629f)
* [fromXMLFile](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a4ea300c891cc45556fdd4b1e7988274d)
* [fromXMLSaveContext](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a237c798449d1bd63e69905b53fe17d06)
* [getDaXFormat](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a2559ee7d7f32bbcebd0d18bb145bd012)
* [getDaXType](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1af8150d8d7d5f6fc37eb3bdf0a27fc817)
* [getHWND](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a27e733b7b61329799abe081c40b00394)
* [getKeepalive](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1aa49db3c3a511089125f6ce44a1ec838f)
* [getMenuItems](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a1c15433a3ca058372e666abbaa1e1fa6)
* [getNumPages](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a389bca42567d788cb1c1c619a400109f)
* [getPage](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a3da50454f5e424f4aa3971d84f7387c4)
* [getPageSetup](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1ac36fc1456cb55f50ccf9046d617b7187)
* [getPageTitle](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a91b7a788be45f38d1cea9579731e794c)
* [getPageType](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a2e8a2fc452e5d1bad94bedf2edfe3ca5)
* [getSelectedPage](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a2dfa9fbb916798751f0fbac5ca3d2fa8)
* [hide](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1adcc3bc6f74b07b516bbc98361b36d4d6)
* [id](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1aa3402e5d6822ebe510cc7fec192d5094)
* [id](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a75bed8e4832c534f7d7842ec7921e652)
* [ignoreDefaultPlotSetup](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a0c7a09c2192beadb073ce041aa0e8893)
* [invokeInsertPageGUI](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a0f0eb77a79bbc31706335b91e6a2923a)
* [invokeMenuItem](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a2a636f7492de925506cd78a80e37deca)
* [isMenuItemChecked](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1aa6aabcb973d32ab328fa815d38d2da7f)
* [isMenuItemEnabled](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a23f32ddd6ea2d2d268351327a03e46b5)
* [isVisible](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a876e3d3fad4e109897eb41df8252cee4)
* [loadTemplate](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a1945a9df23ff32406e48f560a14ea592)
* [movePage](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1aa890fee8f830a7ca7e04840962c2cece)
* [multiDelete](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1ad9dc21008ad2ddd47dfc339328d454da)
* [multiPageCopy](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a1eca7b9ded4f6956ccfa95b11629021d)
* [multiPageCut](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1ae2457af6aec2f86ffb328421ad2051e7)
* [pageCopy](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a1241ff0682653a4b92dd9b6064d0bf42)
* [pageCut](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a1925e33cfa2ae4e284cef4b8255c92dd)
* [pagePaste](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a08c390d4e7e3ff7f93a60283464c7826)
* [removeFromComparisonList](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1aa30551e6356933878904d49df1239bd3)
* [removePage](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a75118395c50e7e2dc424d3f3eeba8fa6)
* [saveTemplate](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a3919d10a314c536703149f6377f7f924)
* [selectPage](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a2110d97cf0636bd118ea3197ef9ba134)
* [setGeomViewerRunID](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1af1cd6cc367767eafd9ee19b54cac0305)
* [setupPlotsPost](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a2f726b811f8e11e39612bfd8b082ef68)
* [setupPlotsPre](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a21238a932694565dbf0e2115c80ae59b)
* [show](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1ad1f82e4921ee4c4db89b43fe92bf171d)
* [showGeomTooltip](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a89fb0170b61fdd2e320c52a8b370e99c)
* [showGeomViewer](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a7d467a6fb859b8cb7f63c04f84f75dfa)
* [toXML](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1afc2dbe6d642993070f320d76f0b1f6b6)
* [toXMLFile](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a889efcee9f2e90cf7de94b3d521f4cdd)
* [toXMLSaveContext](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1a9ce95b6c36069c784ea2389d85dde7ec)
* [tradeStudyUri](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1aefa05eb2c41402bebce7e388d06d08e8)
* [updateComparisonViewHint](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1ad687c055e59a0bb50aac411174fa9a70)
* [updateGeomViewerHint](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1ab9e6e926290d9a829d5e90b17911fb22)
* [updateThumbHint](#interfacePHXDATAEXPLORERLib_1_1__DPHXDataExplorer_1adda950ce0660029538ab7bdb541c6f2c)

## Properties

### Property author

![][public]

**Definition**: `LIBS/DataExplorer/PHXDataExplorer/PHXDataExplorer.odl` (line 1)

```text theme={null}
BSTR PHXDATAEXPLORERLib::_DPHXDataExplorer::author
```

The author of the data in this Data Explorer.

**Return type**: BSTR

### Property description

![][public]

**Definition**: `LIBS/DataExplorer/PHXDataExplorer/PHXDataExplorer.odl` (line 1)

```text theme={null}
BSTR PHXDATAEXPLORERLib::_DPHXDataExplorer::description
```

A description of the data in this Data Explorer.

**Return type**: BSTR

### Property displayName

![][public]

**Definition**: `LIBS/DataExplorer/PHXDataExplorer/PHXDataExplorer.odl` (line 1)

```text theme={null}
BSTR PHXDATAEXPLORERLib::_DPHXDataExplorer::displayName
```

A display name for this Data Explorer.

**Return type**: BSTR

### Property id

![][public]

**Definition**: `LIBS/DataExplorer/PHXDataExplorer/PHXDataExplorer.odl` (line 66)

```text theme={null}
tradeStudyType PHXDATAEXPLORERLib::_DPHXDataExplorer::id
```

A pointer to the associated ModelCenter session. Points to a [ModelCenter.Application](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-api-md/classModelCenter_1_1Application.md) or [ModelCenter.IModelCenter](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-api-md/interfaceModelCenter_1_1IModelCenter.md) object.

**Return type**: tradeStudyType

### Property id

![][public]

**Definition**: `LIBS/DataExplorer/PHXDataExplorer/PHXDataExplorer.odl` (line 74)

```text theme={null}
tradeStudySetup PHXDATAEXPLORERLib::_DPHXDataExplorer::id
```

A pointer to the included Data History object.

**Return type**: tradeStudySetup

### Property associatedModelFile

![][public]

**Definition**: `LIBS/DataExplorer/PHXDataExplorer/PHXDataExplorer.odl` (line 1)

```text theme={null}
BSTR PHXDATAEXPLORERLib::_DPHXDataExplorer::associatedModelFile
```

The filename of the associated model file for this Data Explorer.

**Return type**: BSTR

### Property associatedModelFileUUID

![][public]

**Definition**: `LIBS/DataExplorer/PHXDataExplorer/PHXDataExplorer.odl` (line 1)

```text theme={null}
BSTR PHXDATAEXPLORERLib::_DPHXDataExplorer::associatedModelFileUUID
```

The UUID of the associated Model.

**Return type**: BSTR

### Property creationDate

![][public]

**Definition**: `LIBS/DataExplorer/PHXDataExplorer/PHXDataExplorer.odl` (line 1)

```text theme={null}
BSTR PHXDATAEXPLORERLib::_DPHXDataExplorer::creationDate
```

The creation date of the model.

**Return type**: BSTR

### Property tradeStudyUri

![][public]

**Definition**: `LIBS/DataExplorer/PHXDataExplorer/PHXDataExplorer.odl` (line 1)

```text theme={null}
BSTR PHXDATAEXPLORERLib::_DPHXDataExplorer::tradeStudyUri
```

The URI of the file loaded in this object, empty for no currently loaded file. Changing this does not load a new file, it is merely a container for a string.

**Return type**: BSTR

### Property isVisible

![][public]

**Definition**: `LIBS/DataExplorer/PHXDataExplorer/PHXDataExplorer.odl` (line 347)

```text theme={null}
PHXDATAEXPLORERLib::_DPHXDataExplorer::isVisible
```

Is the window visible?

**Return type**:

## Public functions

### Function getNumPages

![][public]

```text theme={null}
long PHXDATAEXPLORERLib::_DPHXDataExplorer::getNumPages()
```

Gets the number of pages in this Data Explorer.
**Returns**:

The number of pages.

**Return type**: long

### Function getPage

![][public]

```text theme={null}
IDispatch * PHXDATAEXPLORERLib::_DPHXDataExplorer::getPage(long page)
```

Get an IDispatch for the requested page.

**Parameters**:

* **page**: The 0 based index to the requested page.

**Returns**:

An IDispatch for the requested page. This pointer is guaranteed to implement [PHXDataExplorerPlugIn](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-api-md/interfacePHXDATAHISTORYLib_1_1PHXDataExplorerPlugIn.md) and may additionally implement other interfaces.

**Parameters**:

* long **page**

**Return type**: IDispatch \*

### Function addPage

![][public]

```text theme={null}
IDispatch * PHXDATAEXPLORERLib::_DPHXDataExplorer::addPage(BSTR type, VARIANT insertBefore, VARIANT setupString)
```

Adds a new page to the Data Explorer.

**Parameters**:

* **type**: Select the type of page to create. May be a COM Application ID (such as PHXCarpetPlot.Application) or a name as registered with [ModelCenter](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-api-md/namespaceModelCenter)'s PlugIn Manager's Data Explorer Plug-Ins section (such as "Carpet Plot").
* **insertBefore**: Where to insert the page. May be -1 or omitted to place at the end.
* **setupString**: An optional string to pass to the newly created page's [fromString()](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-api-md/interfacePHXDATAHISTORYLib_1_1PHXDataExplorerPlugIn.md#interfacePHXDATAHISTORYLib_1_1PHXDataExplorerPlugIn_1a889e85b07599a03c7a262297629d0763) call. Format is page dependent.

**Returns**:

The IDispatch of the newly created page. This pointer is guaranteed to implement [PHXDataExplorerPlugIn](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-api-md/interfacePHXDATAHISTORYLib_1_1PHXDataExplorerPlugIn.md) and may additionally implement other interfaces.

**Parameters**:

* BSTR **type**
* VARIANT **insertBefore**
* VARIANT **setupString**

**Return type**: IDispatch \*

### Function removePage

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::removePage(long page)
```

Removes the requested page from the Data Explorer.

**Parameters**:

* **page**: The 0 based index of the page to remove.

**Parameters**:

* long **page**

**Return type**: void

### Function movePage

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::movePage(long page, long insertBefore)
```

Moves a page within the Data Explorer.

**Parameters**:

* **page**: The 0 based index of the page to move.
* **insertBefore**: The 0 based index of where to put the page. May be -1 to put the page at the end.

**Parameters**:

* long **page**
* long **insertBefore**

**Return type**: void

### Function selectPage

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::selectPage(long page)
```

Selects and makes visible the requested page.

**Parameters**:

* **page**: The 0 based index of the page to select.

**Parameters**:

* long **page**

**Return type**: void

### Function getSelectedPage

![][public]

```text theme={null}
long PHXDATAEXPLORERLib::_DPHXDataExplorer::getSelectedPage()
```

Returns a 0 based index to which page is currently selected.
**Returns**:

The index of the currently selected page.

**Return type**: long

### Function pageCut

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::pageCut(long index)
```

Causes the "page template" for the selected page to be put on the clipboard and the page to be removed.

**Parameters**:

* **index**: The 0 based index of the page to cut.

**Parameters**:

* long **index**

**Return type**: void

### Function pageCopy

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::pageCopy(long index)
```

Causes the "page template" for the selected page to be put on the clipboard.

**Parameters**:

* **index**: The 0 based index of the page to copy.

**Parameters**:

* long **index**

**Return type**: void

### Function pagePaste

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::pagePaste()
```

Causes the page template currently on the clipboard to be pasted into the Data Explorer.

**Return type**: void

### Function invokeInsertPageGUI

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::invokeInsertPageGUI()
```

Causes the "Add New Page" dialog to be presented to the user the same as if they had clicked on "Add Page/Chart"

**Return type**: void

### Function toXMLFile

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::toXMLFile(BSTR fileName, [optional]VARIANT includeRunData)
```

Saves the current state of the Data Explorer and all the included meta-data and pages to an XML file.

**Parameters**:

* **fileName**: The file to save to.
* **includeRunData**: \


**Parameters**:

* BSTR **fileName**
* *\[optional]* VARIANT **includeRunData**

**Return type**: void

### Function getPageType

![][public]

```text theme={null}
BSTR PHXDATAEXPLORERLib::_DPHXDataExplorer::getPageType(long page)
```

Gets the type of page for the requested page. May be a COM Application ID (such as PHXCarpetPlot.Application) or a name as registered with [ModelCenter](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-api-md/namespaceModelCenter)'s PlugIn Manager's Data Explorer Plug-Ins section (such as "Carpet Plot").

**Parameters**:

* **page**: The 0 based index to the requested page.

**Returns**:

The type of the requested page.

**Parameters**:

* long **page**

**Return type**: BSTR

### Function fromXMLFile

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::fromXMLFile(BSTR fileName, [optional]VARIANT root)
```

Loads the contents of the Data Explorer from an XML file.

**Parameters**:

* **fileName**: The filename of the file to load.
* **root**: The node ID of the node to begin reading at. This is useful if you are loading a larger document which contains a Data Explorer node as a child.

**Parameters**:

* BSTR **fileName**
* *\[optional]* VARIANT **root**

**Return type**: void

### Function toXML

![][public]

```text theme={null}
BSTR PHXDATAEXPLORERLib::_DPHXDataExplorer::toXML([optional]VARIANT includeRunData)
```

Saves the current state of the Data Explorer and all the included meta-data and pages to an XML string.

**Parameters**:

* **includeRunData**: \


**Returns**:

An XML string representing the Data Explorer's state.

**Parameters**:

* *\[optional]* VARIANT **includeRunData**

**Return type**: BSTR

### Function fromXML

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::fromXML(BSTR xml, [optional] VARIANT root)
```

Loads the contents of the Data Explorer from an XML string.

**Parameters**:

* **xml**: The XML data to load.
* **root**: The node ID of the node to begin reading at. This is useful if you are loading a larger document which contains a Data Explorer node as a child.

**Parameters**:

* BSTR **xml**
* *\[optional]* VARIANT **root**

**Return type**: void

### Function getMenuItems

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::getMenuItems(LPDISPATCH iPHXMenuItem)
```

**Deprecated**:

Deprecated. Do not use.

**Parameters**:

* LPDISPATCH **iPHXMenuItem**

**Return type**: void

### Function invokeMenuItem

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::invokeMenuItem(long id)
```

**Deprecated**:

Deprecated. Do not use.

**Parameters**:

* long **id**

**Return type**: void

### Function isMenuItemEnabled

![][public]

```text theme={null}
boolean PHXDATAEXPLORERLib::_DPHXDataExplorer::isMenuItemEnabled(long id)
```

**Deprecated**:

Deprecated. Do not use.

**Parameters**:

* long **id**

**Return type**: boolean

### Function updateThumbHint

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::updateThumbHint(long id)
```

**Deprecated**:

Deprecated. Do not use.

**Parameters**:

* long **id**

**Return type**: void

### Function getPageSetup

![][public]

```text theme={null}
BSTR PHXDATAEXPLORERLib::_DPHXDataExplorer::getPageSetup(long page)
```

Get the setup string for a page. This is exactly what the page returns from its toString() method.

**Parameters**:

* **page**: The 0 based index of the page to query.

**Returns**:

Returns the setup string for a page.

**Parameters**:

* long **page**

**Return type**: BSTR

### Function exportImage

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::exportImage(long page, BSTR hints, BSTR filename)
```

Causes a page to export an image to an enhanced metafile (emf) file.

**Parameters**:

* **page**: The page number to export.
* **hints**: Unused.
* **filename**: The filename to write.

**Parameters**:

* long **page**
* BSTR **hints**
* BSTR **filename**

**Return type**: void

### Function multiPageCut

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::multiPageCut(VARIANT index)
```

Cuts multiple pages to the clipboard.
**Parameters**:

* **index**: String containing a comma seperated list of the indices of the pages to be cut.

**Parameters**:

* VARIANT **index**

**Return type**: void

### Function multiPageCopy

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::multiPageCopy(VARIANT index)
```

Causes the comma-separated "page templates" for the selected indices to be put on the clipboard.
**Parameters**:

* **index**: Indices of the pages.

**Parameters**:

* VARIANT **index**

**Return type**: void

### Function multiDelete

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::multiDelete(VARIANT index)
```

Deletes the comma-separated "page templates" for the selected indices.
**Parameters**:

* **index**: Indices of the pages.

**Parameters**:

* VARIANT **index**

**Return type**: void

### Function loadTemplate

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::loadTemplate(BSTR str)
```

Causes the DataExplorer to remove all current pages, then import an XML document that describes new pages to display. \


**Parameters**:

* **str**: The filename to load.

**Parameters**:

* BSTR **str**

**Return type**: void

### Function saveTemplate

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::saveTemplate(BSTR str)
```

Causes the DataExplorer to export an XML document describing the current pages.

**Parameters**:

* **str**: The filename to write.

**Parameters**:

* BSTR **str**

**Return type**: void

### Function toXMLSaveContext

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::toXMLSaveContext(LPDISPATCH saveContext, [optional] VARIANT includeRunData)
```

Writes the Data History contents to an XML file.

**Parameters**:

* **saveContext**: Context to use when loading this file, used for storing large files and other data contained in the save file but not directly in the XML.
* **includeRunData**: \


**Parameters**:

* LPDISPATCH **saveContext**
* *\[optional]* VARIANT **includeRunData**

**Return type**: void

### Function fromXMLSaveContext

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::fromXMLSaveContext(LPDISPATCH saveContext, [optional] VARIANT root)
```

Tells the Data History to load its state from the XML file passed in.

**Parameters**:

* **saveContext**: Context to use when loading this file, used for storing large files and other data contained in the save file but not directly in the XML. \

* **root**: The node ID of the node to begin reading at. This is useful if you are loading a larger document which contains a Data History node as a child.

**Parameters**:

* LPDISPATCH **saveContext**
* *\[optional]* VARIANT **root**

**Return type**: void

### Function show

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::show()
```

Show the associated window.

**Return type**: void

### Function hide

![][public]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::hide()
```

Hide the associated window.

**Return type**: void

### Function getPageTitle

![][public]

```text theme={null}
BSTR PHXDATAEXPLORERLib::_DPHXDataExplorer::getPageTitle(long page)
```

Get the title for the specified page.

**Parameters**:

* long **page**

**Return type**: BSTR

## Private functions

### Function fromCenterLink

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::fromCenterLink(BSTR server, BSTR runMatrixID, BSTR userName, BSTR password)
```

**Parameters**:

* BSTR **server**
* BSTR **runMatrixID**
* BSTR **userName**
* BSTR **password**

**Return type**: void

### Function ignoreDefaultPlotSetup

![][private]

```text theme={null}
boolean PHXDATAEXPLORERLib::_DPHXDataExplorer::ignoreDefaultPlotSetup()
```

**Return type**: boolean

### Function setupPlotsPre

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::setupPlotsPre()
```

**Return type**: void

### Function setupPlotsPost

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::setupPlotsPost()
```

**Return type**: void

### Function showGeomTooltip

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::showGeomTooltip(long run, long x, long y)
```

**Parameters**:

* long **run**
* long **x**
* long **y**

**Return type**: void

### Function showGeomViewer

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::showGeomViewer(long run, long x, long y)
```

**Parameters**:

* long **run**
* long **x**
* long **y**

**Return type**: void

### Function updateGeomViewerHint

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::updateGeomViewerHint(long viewerID)
```

**Parameters**:

* long **viewerID**

**Return type**: void

### Function setGeomViewerRunID

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::setGeomViewerRunID(long viewerID, long runID)
```

**Parameters**:

* long **viewerID**
* long **runID**

**Return type**: void

### Function updateComparisonViewHint

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::updateComparisonViewHint(BOOL restore)
```

**Parameters**:

* BOOL **restore**

**Return type**: void

### Function isMenuItemChecked

![][private]

```text theme={null}
boolean PHXDATAEXPLORERLib::_DPHXDataExplorer::isMenuItemChecked(long id)
```

**Parameters**:

* long **id**

**Return type**: boolean

### Function removeFromComparisonList

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::removeFromComparisonList(long runID)
```

**Parameters**:

* long **runID**

**Return type**: void

### Function addToComparisonList

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::addToComparisonList(long runID)
```

**Parameters**:

* long **runID**

**Return type**: void

### Function addRunsToComparisonList

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::addRunsToComparisonList(VARIANT runIDs)
```

**Parameters**:

* VARIANT **runIDs**

**Return type**: void

### Function getDaXType

![][private]

```text theme={null}
boolean PHXDATAEXPLORERLib::_DPHXDataExplorer::getDaXType()
```

**Return type**: boolean

### Function getDaXFormat

![][private]

```text theme={null}
boolean PHXDATAEXPLORERLib::_DPHXDataExplorer::getDaXFormat()
```

**Return type**: boolean

### Function ensureRunDataAction

![][private]

```text theme={null}
void PHXDATAEXPLORERLib::_DPHXDataExplorer::ensureRunDataAction()
```

**Return type**: void

### Function getKeepalive

![][private]

```text theme={null}
IDispatch * PHXDATAEXPLORERLib::_DPHXDataExplorer::getKeepalive()
```

**Return type**: IDispatch \*

### Function getHWND

![][private]

```text theme={null}
long PHXDATAEXPLORERLib::_DPHXDataExplorer::getHWND()
```

**Return type**: long

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[private]: https://img.shields.io/badge/-private-red "private"

[IDL]: https://img.shields.io/badge/language-IDL-blue "IDL"
