Properties
ShapefileCategory Class Reference

Represents a set of visualization options for shapefile layer. More...

List of all members.

Properties

ShapeDrawingOptions DrawingOptions [get, set]
 Gets or sets visualization options associated with the category.
string Expression [get, set]
 Gets or sets expression which defines shapes which belong to the category.
object MaxValue [get, set]
 Gets or sets maximum value of the value range the category covers.
object MinValue [get, set]
 Gets or sets minimum value of the value range the category covers.
string Name [get, set]
 Gets or sets the name of the category. The names must not be unique.
tkCategoryValue ValueType [get, set]
 Gets or sets value type for the category.

Detailed Description

Represents a set of visualization options for shapefile layer.

The set of options is represented by instance of ShapeDrawingOptions class which can be accessed by ShapefileCategory.DrawingOptions, while ShapefileCategory.Expression is used for mapping this options to particular shapes.

Here is a diagram for the ShapefileCategory class.

dot_inline_dotgraph_63.png

Graph description

New API 4.8:
Added in version 4.8
Examples:
LinePattern.cs, MinimalDistance.cs, PointIcons.cs, SelectByDistance.cs, and SplitByAttribute.cs.

Property Documentation

Gets or sets visualization options associated with the category.

Examples:
LinePattern.cs, PointIcons.cs, and SelectByDistance.cs.
string ShapefileCategory.Expression [get, set]

Gets or sets expression which defines shapes which belong to the category.

Examples:
MinimalDistance.cs, PointIcons.cs, and SelectByDistance.cs.
object ShapefileCategory.MaxValue [get, set]

Gets or sets maximum value of the value range the category covers.

The value is used when cvRange is set as ShapefileCategory.ValueType.

New API 4.9.3:
Added in version 4.9.3
object ShapefileCategory.MinValue [get, set]

Gets or sets minimum value of the value range the category covers.

The value is used when either cvSingleValue, cvRange is set for ShapefileCategory.ValueType.

New API 4.9.3:
Added in version 4.9.3
string ShapefileCategory.Name [get, set]

Gets or sets the name of the category. The names must not be unique.

Examples:
SplitByAttribute.cs.

Gets or sets value type for the category.

Depending on value type either ShapefileCategory.MinValue/ShapefileCategory.MaxValue properties or ShapefileCategory.Expression are used in the calculation process. ShapefileCategories.Generate method will set cvSingleValue for unique values classification and ctRange for any interval classification. These values are faster to apply. However manual setting of ShapefileCategory.Expression property will change it to cvExpression.

New API 4.9.3:
Added in version 4.9.3
 All Classes Files Functions Enumerations Properties Events