Item Properties

The current open Item, which can be opened in many ways, e.g. using the OpenSel or OpenList API methods, can be any one of the many item types which SIS supports, e.g. LineString, Point, Text. Each of these item classes has its own properties. See the Item Classes for further details of these properties.

Current open Item properties are set and queried using the SIS_OT_CURITEM constant and the GetFlt/GetInt/GetStr/GetProperty and SetFlt/SetInt/SetStr/SetProperty methods. The nObject& argument is not required with SIS_OT_CURITEM, and should be set to 0.

Default Item Properties

Whenever a new Item is created by a SIS command it takes its default properties from those of the default Item.

Default Item properties are set and queried using the SIS_OT_DEFITEM constant and the GetFlt/GetInt/GetStr/GetProperty and SetFlt/SetInt/SetStr/SetProperty methods. The nObject& argument is not required with SIS_OT_DEFITEM, and should be set to 0.

Note: The default item properties are not applied to items created using GisLink or ActiveX API methods.


Send comments on this topic.

Click to return to www.cadcorp.com

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