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 MM ME MD OD OM SISpy

Group:

Example

sis.GetDatasetExtent (1)


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).