Creates an overlay which views Point data stored in a database.
Visual Basic |
---|
Public Function CreateDbPointOverlay( _ ByVal pos As Integer, _ ByVal prj As String, _ ByVal rs As String, _ ByVal aclass As String, _ ByVal nfX As Integer, _ ByVal nfY As Integer, _ ByVal nfId As Integer, _ ByVal nfSr As Integer, _ ByVal nfZ As Integer, _ ByVal nfUnused As Integer, _ ByVal span As Double _ ) As Integer |
The class of Item to create: "Point" or "Text".
Text Items may be created by aliasing any string column in the named recordset to Text. Each Text item created will then get its text from the aliased column.
It may be necessary to call RefreshDataset after this command, to ensure that points are displayed.
Available: GEO MD MM ME OD OM SISpy
Groups:
sis.CreateDbPointOverlay (1, "*APrjNatGrid", "Planning", "Point", 1, 2, 3, -1, -1, 0, 2000000)
Creates an overlay at position 1 on the overlays list, in the given coordinate reference system, using recordset Planning, display as points, x index is 1, y index is 2 (positions of the columns containing coordinate information in the column argument used to define the recordset), ID index is 3, no spatial reference, within a span of 2 000 000m.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).