Description

Returns a DataViewer window in HTML of Picture format.

Return Type

A Variant value.  

See parameters.

Syntax

object.GetViewData (DVWindowData)

The GetViewData Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataViewer.
DVWindowDataRequired. A mcDVTypes enumeration, as described in settings.

specifies the source window. It can be mcdvDataTableActive - returns HTML text of the active data table mcdvDataTableItems - returns HTML text of the data items in the data table mcdvDataTableStats - returns HTML text of the statistics pane of the data table mcdvDataTableAll - returns HTML text of the data items and statistics of the data table mcdvHistogram - returns IPictureDisp of the data histogram mcdvScatterPlot - returns IPictureDisp of the scatter-plot mcdvDataGraph - returns IPictureDisp of the data graph

Settings

The settings for DVWindowData are:

ConstantValueDescription
 mcdvDataTableActive0

data table as shown

 mcdvDataTableItems4

only data items of data table

 mcdvDataTableStats5

only statistics of data table

 mcdvDataTableAll6

data items and statistics of data table

 mcdvHistogram1

data histogram

 mcdvScatterPlot2

scatter plot

 mcdvDataGraph3

data graph

Remarks

Data table and statistics returned as string of HTML text, DataHistogram, ScatterPlot and DataGraph return reference to IPictureDisp. This function is used in Report Generator of Image-Pro.