CloseLink
Previous  Top  Next

Function CloseLink(link: integer; code: smallint): integer;

Changes the status of the specified link for network loaded in RAM:

0: Two-way street
512: One-way street, which may only be travelled in the digitised direction.
1024: One-way street, which may only be travelled in the reverse of the digitised direction.
1536: Closed street.

This overwrites information loaded with AttributeLoad and after a call to AttributeLoad it is also overwritten.

See also GetOpenStatus and CloseLinkFixed

Possible error codes: -10 -30 -43
Versions: Standard Pro
ActiveX / VCL / CLX component: RWnetBase