All Cadcorp SIS API Methods

GetDatasetExtent Method

Description

Gets the extents of all of the Items in a dataset.

Syntax

Visual Basic
Public Function GetDatasetExtent( _
   ByVal nDataset As Long _
) As String

Parameters

nDataset
The serial number of the dataset whose extents are required. The serial number can be obtained from the Dataset property of an overlay or from the GetDataset, GetDatasetContainer or FindExternalDataset methods.

Return Type

A comma-delimited string containing a pair of x, y and z co-ordinates describing the extents. Use SplitExtent to get the pair of x, y and z values themselves.

Remarks

Available: GEO D OD OM SISpy

Group:

Example

sis.GetDatasetExtent (1)