Feature Table Properties
Cadcorp SIS Desktop uses named Feature Table objects to control the display, e.g. Pen, Brush, Symbol, etc., of feature coded items.
The properties of individual feature codes within a Feature Table are set and queried using the SIS_OT_FTABLE
constant and the GetFlt/GetInt/GetStr/GetProperty and SetFlt/SetInt/SetStr/SetProperty methods. The nObject& argument must be the feature code being queried or edited. The Feature Table must first have been loaded using the LoadFeatureTable method.
Feature Table Properties
- Brush: _brush$
The Brush used to fill any area covered by an item with this feature code. - Description: _DESC$
A textual description of the feature code. MapTips™ often display the description. - Feature code: _FC&
The feature code itself. - Font: _font$
The font used to draw text in any items with this feature code. SIS will look for a True-Type font which has the same name. - Layer: _layer$
The layer name of this feature code. - Level: _level&
The level within an overlay on which to draw an item with this feature code. - Maximum scale: _scalemax#
The highest reproduction scale at which an item with this feature code will be drawn. If you set this value to 1000, and then zoom out to 1:2000 the item will become invisible.
This value is stored internally using a low precision byte. The value you enter will be rounded to the nearest valid value automatically. - Minimum scale: _scalemin#
The lowest reproduction scale at which an item with this feature code will be drawn. If you set this value to 100, and then zoom out to 1:50 the item will become invisible.
This value is stored internally using a low precision byte. The value you enter will be rounded to the nearest valid value automatically. - Parent feature code: _ParentFC&
The parent feature code of this feature code, allowing hierarchical trees of feature codes to be constructed. - Pen: _pen$
The Pen used to draw any item with this feature code. - Point height: _point_height&
The height in "points" at which to draw text items with this feature code. - Symbol: _shape$
The Symbol used to draw any point item with this feature code. - Sort by name: _bAlphabetic&
This property defines whether features are ordered by feature code or by name alphabetically. The property applies to the entire feature table and will therefore only work if feature code = 0. - Text fill brush:_textFillBrush$
Brush for text fill. - Text pen outline: _textOutlinePen$
Pen for text outline. - Text bold: _text_bold&
Flag to set bold text. - Text italic: _text_italic&
Flag to set italic text. - Text underlined: _text_underlined&
Flag to set italic text. - Text box: _text_box&
Flag to set box around text. - Text opaque: _text_opaque&
Flag to set opaque. - Text outline: _text_outline&
Flag to set outline.