All Cadcorp SIS API Methods

CopyFeatureCode Method

Description

Copies an existing feature code into the currently loaded Feature Table.

Use LoadFeatureTable to load a Feature Table for editing.

Syntax

Visual Basic
Public Function CopyFeatureCode( _
   ByVal fcodeTo As Long, _
   ByVal fcodeFrom As Long, _
   ByVal ftable As String _
) As Integer

Parameters

fcodeTo
The feature code to be added, from 1 to 65535.
fcodeFrom
The feature code to be copied, from 1 to 65535.
ftable
The Feature Table from which to copy the feature code. Use "" to copy a feature code in the currently loaded Feature Table.

Remarks

Available: GEO OD SISpy

Groups:

Example

sis.CopyFeatureCode (1, 1, "LandLine")

copies the feature code 1 from the feature table LandLine into the currently loaded feature table.