Object Reference > Chart3DData Object > Chart3DData Methods > CreateContours Method (Chart3DData) |
CreateContours Method (Chart3DData)
Returns a list of points that represent the contour lines. The data set will be copied into a new CData object, which is returned by the method.
Function CreateContours(first As Integer, last As Integer, filter As Integer) As Chart3DData
Part |
Type |
Description |
First |
Integer |
Firstcontour line to be exported |
Example
' Sample Visual Basic code that extracts the contour data, and
' then saves the data to a file
Private Sub Export_contour()
Dim mydata As Chart3DData
Set mydata = Chart3D1.ChartGroups(1).ElevationData.CreateContours(1,
Chart3D1.ChartGroups(1).Contour.Levels.NumLevels, 1)
mydata.Save "e:\temp\contour.dat"
End Sub
See Also