ThinkGeo.MapSuite.Styles.IconValueStyle
Inheritance Hierarchy
Members Summary
Public Constructors
IconValueStyle()
Parameters
IconValueStyle(String)
Parameters
IconValueStyle(String,IEnumerable<IconValueItem>)
Parameters
Protected Constructors
Public Methods
CloneDeep()
Return Value
Parameters
Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Void
Description:N/A
Parameters
Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Void
Description:N/A
Parameters
GetRequiredColumnNames()
Return Value
Type:Collection<String>
Description:N/A
Parameters
DrawSample(GeoCanvas,DrawingRectangleF)
Return Value
Type:Void
Description:N/A
Parameters
DrawSample(GeoCanvas)
Return Value
Type:Void
Description:N/A
Parameters
SaveStyle(String)
Return Value
Type:Void
Description:N/A
Parameters
filePathName
Type:String
Description:N/A
SaveStyle(Stream)
Return Value
Type:Void
Description:N/A
Parameters
stream
Type:Stream
Description:N/A
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
Protected Methods
DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
This overridden method is called from the concrete public method Draw. In this method, we take the features you passed in and draw them on the canvas you provided. Each style (based on its properties) may draw each feature differently. When overriding this method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection.
Return Value
Type:Void
Description:None
Parameters
GetRequiredColumnNamesCore()
This abstract method is called from the concrete public method GetRequiredFieldNames. In this method, we return the column names that are required for the style to draw the feature properly. For example, if you have a style that colors areas blue when a certain column value is over 100, then you need to be sure you include that column name. This will ensure that the column data is returned to you in the feature when it is ready to draw. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection.
Return Value
Parameters
GetLabelingCandidateCore(Feature,GeoCanvas)
This overridden method is called from the concrete public method Draw. In this method, we take the feature you passed in and determine if it is a candidate for labeling. If it is, then we will add it to the return collection. The algorithm to determine whether the label will draw is complex and determined by a number of properties and factors.
Return Value
Parameters
DrawMask(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Void
Description:N/A
Parameters
FilterFeatures(IEnumerable<Feature>,GeoCanvas)
Return Value
Parameters
FilterFeaturesCore(IEnumerable<Feature>,GeoCanvas)
Return Value
Parameters
AbbreviateText(Feature,GeoCanvas)
Return Value
Type:Void
Description:N/A
Parameters
AbbreviateTextCore(Feature,GeoCanvas)
Return Value
Type:Void
Description:N/A
Parameters
GetLabelingCandidates(Feature,GeoCanvas)
Return Value
Parameters
CheckDuplicate(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Boolean
Description:N/A
Parameters
CheckDuplicateCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Boolean
Description:N/A
Parameters
CheckOverlapping(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Boolean
Description:N/A
Parameters
CheckOverlappingCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)
Return Value
Type:Boolean
Description:N/A
Parameters
GetLabelingCandidateForOnePolygon(PolygonShape,String,GeoCanvas)
Return Value
Parameters
text
Type:String
Description:N/A
Format(String,BaseShape)
Return Value
Type:String
Description:N/A
Parameters
text
Type:String
Description:N/A
FormatCore(String,BaseShape)
Return Value
Type:String
Description:N/A
Parameters
text
Type:String
Description:N/A
OnFormatting(FormattingPositionStyleEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
OnFormatted(FormattedPositionStyleEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
CloneDeepCore()
Return Value
Parameters
DrawSampleCore(GeoCanvas,DrawingRectangleF)
Return Value
Type:Void
Description:N/A
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
ColumnName
Return Value
IconValueItems
Return Value
PolygonLabelingLocationMode
Return Value
MaxNudgingInPixel
Return Value
NudgingIntervalInPixel
Return Value
BestPlacementSymbolWidth
Return Value
BestPlacementSymbolHeight
Return Value
AbbreviationDictionary
Return Value
LeaderLineStyle
Return Value
LeaderLineRule
Return Value
LeaderLineMinimumLengthInPixels
Return Value
GridSize
Return Value
DuplicateRule
Return Value
OverlappingRule
Return Value
AllowLineCarriage
Return Value
SuppressPartialLabels
Return Value
ForceLineCarriage
Return Value
FittingPolygon
Return Value
LabelAllPolygonParts
Return Value
LabelAllLineParts
Return Value
FittingPolygonFactor
Return Value
TextLineSegmentRatio
Return Value
BestPlacement
Return Value
PointPlacement
Return Value
IsDefault
Return Value
MaskType
Return Value
Name
Return Value
StyleClass
Return Value
IsActive
Return Value
RequiredColumnNames
Return Value
Filters
Return Value
Protected Properties
IsStyleDefault
Return Value
LabelPositions
Return Value
XOffsetInPixel
Return Value
YOffsetInPixel
Return Value
CustomTextStyles
Return Value
RotationAngle
Return Value
FittingLineInScreen
Return Value
FittingPolygonInScreen
Return Value
TextFormat
Return Value
NumericFormat
Return Value
DateFormat
Return Value
TextSolidBrush
Return Value
Font
Return Value
HaloPen
Return Value
TextColumnName
Return Value
Mask
Return Value
MaskMargin
Return Value
Advanced
Return Value
AllowSpline
Return Value
ForceHorizontalLabelForLine
Return Value
SplineType
Return Value
DrawingLevel
Return Value
FiltersCore
Return Value
Public Events
Formatting