Cadcorp SIS API Methods

GetBlobExtent Method

Description

Gets the extents of a Blob string, within a Coordinate Reference System.

Syntax

Visual Basic
Public Function GetBlobExtent( _
   ByVal blob As String, _
   ByVal prj As String, _
   ByVal fmt As Integer _
) As String

Parameters

blob
The stored Item Blob string.
 
prj
The named Coordinate Reference System of the stored Item Blob.
 
fmt
The format of the stored Item Blob.

SIS_BLOB_SIS_V6_ASCII 0 = Cadcorp SIS format.
SIS_BLOB_OGIS_WKT 2 = OGC Well-Known-Text format
SIS_BLOB_OGIS_GML 3 = OGC Geographic Markup Language
SIS_BLOB_GEOJSON 6 = Geographic Objects for JSON format

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.GetBlobExtent ( blob, "*APrjNatGrid", 0 )

Returns the extent of the value of blob within the National Grid coordinate reference system


Send comments on this topic.

Click to return to www.cadcorp.com

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