ComponentOne Chart 8.0 for ActiveX
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.

Syntax

Function CreateContours(first As Integer, last As Integer, filter As Integer) As Chart3DData

 

Part

Type

Description

First
Last
Filter

Integer

Firstcontour line to be exported
Last contour line to be exported
Allows every nth contour line to be exported (skipping the others)

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

Chart3DData Object

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback