All Cadcorp SIS API Methods

GetBlob Method


Gets a Blob string of the current open Item within a Coordinate Reference System


Visual Basic
Public Function GetBlob( _
   ByVal projection As String, _
   ByVal fmt As Integer, _
   ByVal precision As Integer _
) As String


The named Coordinate Reference System of the returned Blob string. This can be defined as:
  • OGC URNs (eg 'urn:ogc:def:crs:OGC:1.3:CRS84')
  • EPSG URNs (eg 'urn:ogc:def:crs:EPSG::27700')
  • EPSG code strings (eg 'EPSG:27700')
  • EPSG URLs (eg '' or '')
  • EPSG codes as a simple string (eg '27700')

If blank, this will default to the CRS of the current Item’s Dataset.

The format of the stored Item Blob.

SIS_BLOB_OGIS_WKT2 = OGC Well-Known-Text format
SIS_BLOB_OGIS_GML3 = OGC Geographic Markup Language
SIS_BLOB_GEOJSON6 = Geographic Objects for JSON format
This parameter is ignored and will always return 64-bit precision.

Return Type

A string describing the current open Item in the chosen format. SIS format strings are encoded and can only be interpreted by SIS.


There is no limit on the length of Blob strings generated by SIS.

There are however limits elsewhere: GisLink can only handle strings of a few Kb (this does not apply to the SIS Control); SIS datasets which read Blobs from data sources can use a fixed size communication buffer (use the Cadcorp OGC SQL92 Database Maximum Blob size, and Cadcorp View Geometry Maximum Blob size properties to change the size of the communication buffer).

Available: GEO  OD SISpy



sis.GetBlob ( "*APrjNatGrid", 0, 0 )

Returns the Blob string of the current item within the National Grid coordinate reference system.