This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.positionstyle [2015/09/17 10:37] admin |
thinkgeo.mapsuite.core.positionstyle [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.PositionStyle ====== | ====== ThinkGeo.MapSuite.Core.PositionStyle ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This abstract class encapsulates the labeling position logic. It is inherited by other styles, such as the TextSytle. | This abstract class encapsulates the labeling position logic. It is inherited by other styles, such as the TextSytle. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 8: | Line 11: | ||
*[[ThinkGeo.MapSuite.Core.TextStyle]] | *[[ThinkGeo.MapSuite.Core.TextStyle]] | ||
===== Members Summary ===== | ===== Members Summary ===== | ||
- | === Public Constructors === | + | ==== Public Constructors ==== |
- | === Protected Constructors === | + | ==== Protected Constructors ==== |
- | <div class_table> | + | ** {{wiki:ProtectedMethod.gif|}} PositionStyle() ** |
- | **{{wiki:ProtectedMethod.gif|}}[[#PositionStyle()|PositionStyle]]** | + | |
- | * **Parameters**:N/A | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This is the default constructor for the class. | + | |
- | </div> | + | |
- | === Public Methods === | + | * //This is the default constructor for the class.// |
- | <div class_table> | + | == Remarks == |
- | **{{wiki:PublicMethod.gif|}}[[#CloneDeep()|CloneDeep]]** | + | * //None// |
- | * **Parameters**:N/A | + | == Parameters == |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | <div newline></div> |
- | * **Summary**:N/A | + | ==== Public Methods ==== |
- | </div> | + | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}[[#Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)|Draw]]** | + | == Remarks == |
- | * **Parameters**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>,[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>,Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * //N/A// |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:PublicMethod.gif|}}[[#Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)|Draw]]** | + | * Type:[[ThinkGeo.MapSuite.Core.Style|Style]] |
- | * **Parameters**:IEnumerable<[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]>,[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>,Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * Description:N/A |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:PublicMethod.gif|}}[[#DrawSample(GeoCanvas,DrawingRectangleF)|DrawSample]]** | + | <div newline></div> |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | + | ** {{wiki:PublicMethod.gif|}} Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}[[#DrawSample(GeoCanvas)|DrawSample]]** | + | == Remarks == |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * //N/A// |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:PublicMethod.gif|}}[[#Equals(Object)|Equals]]** | + | * Type:Void |
- | * **Parameters**:Object | + | * Description:N/A |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:PublicMethod.gif|}}[[#GetHashCode()|GetHashCode]]** | + | * //features// |
- | * **Parameters**:N/A | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
- | * **DeclaringType**:Object | + | * Description:N/A |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //canvas// |
- | **{{wiki:PublicMethod.gif|}}[[#GetRequiredColumnNames()|GetRequiredColumnNames]]** | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **Parameters**:N/A | + | * Description:N/A |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //labelsInThisLayer// |
- | **{{wiki:PublicMethod.gif|}}[[#GetType()|GetType]]** | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Parameters**:N/A | + | * Description:N/A |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //labelsInAllLayers// |
- | **{{wiki:PublicMethod.gif|}}[[#SaveStyle(String)|SaveStyle]]** | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Parameters**:String | + | * Description:N/A |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:PublicMethod.gif|}}[[#SaveStyle(Stream)|SaveStyle]]** | + | ** {{wiki:PublicMethod.gif|}} Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | * **Parameters**:Stream | + | |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:PublicMethod.gif|}}[[#ToString()|ToString]]** | + | == Remarks == |
- | * **Parameters**:N/A | + | * //N/A// |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | === Protected Methods === | + | == Return Value == |
- | <div class_table> | + | * Type:Void |
- | **{{wiki:ProtectedMethod.gif|}}[[#AbbreviateText(Feature,GeoCanvas)|AbbreviateText]]** | + | * Description:N/A |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]],[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:ProtectedMethod.gif|}}[[#AbbreviateTextCore(Feature,GeoCanvas)|AbbreviateTextCore]]** | + | * //shapes// |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]],[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]> |
- | * **DeclaringType**:N/A | + | * Description:N/A |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //canvas// |
- | **{{wiki:ProtectedMethod.gif|}}[[#CheckDuplicate(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)|CheckDuplicate]]** | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]],[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>,Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method will determine whether the label will be suppressed because it is a duplicate. | + | |
- | </div> | + | |
- | <div class_table> | + | * //labelsInThisLayer// |
- | **{{wiki:ProtectedMethod.gif|}}[[#CheckDuplicateCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)|CheckDuplicateCore]]** | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]],[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>,Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method will determine if the label will be suppressed because it is a duplicate. | + | |
- | </div> | + | |
- | <div class_table> | + | * //labelsInAllLayers// |
- | **{{wiki:ProtectedMethod.gif|}}[[#CheckOverlapping(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)|CheckOverlapping]]** | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]],[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>,Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method will determine if the label will be suppressed because of overlapping. | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:ProtectedMethod.gif|}}[[#CheckOverlappingCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)|CheckOverlappingCore]]** | + | ** {{wiki:PublicMethod.gif|}} GetRequiredColumnNames() ** |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]],[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>,Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method will determine whether the label will be suppressed because of overlapping. | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:ProtectedMethod.gif|}}[[#CloneDeepCore()|CloneDeepCore]]** | + | == Remarks == |
- | * **Parameters**:N/A | + | * //N/A// |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}}[[#ConvertToScreenShape(Feature,GeoCanvas)|ConvertToScreenShape]]** | + | * Type:Collection<String> |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]],[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method converts a feature in world coordinates to screen coordinates. | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:ProtectedMethod.gif|}}[[#DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>)|DrawCore]]** | + | <div newline></div> |
- | * **Parameters**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>,[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>,Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | ** {{wiki:PublicMethod.gif|}} DrawSample(GeoCanvas,DrawingRectangleF) ** |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method draws the features on the canvas you provided. | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:ProtectedMethod.gif|}}[[#DrawSampleCore(GeoCanvas,DrawingRectangleF)|DrawSampleCore]]** | + | == Remarks == |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]],[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | + | * //N/A// |
- | * **DeclaringType**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:ProtectedMethod.gif|}}[[#FilterFeatures(IEnumerable<Feature>,GeoCanvas)|FilterFeatures]]** | + | * Type:Void |
- | * **Parameters**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>,[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method filters the features based on the grid size to facilitate deterministic labeling. | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:ProtectedMethod.gif|}}[[#FilterFeaturesCore(IEnumerable<Feature>,GeoCanvas)|FilterFeaturesCore]]** | + | * //canvas// |
- | * **Parameters**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>,[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **DeclaringType**:N/A | + | * Description:N/A |
- | * **Summary**:This method filters the features based on the grid size to facilitate deterministic labeling. | + | |
- | </div> | + | |
- | <div class_table> | + | * //drawingExtent// |
- | **{{wiki:ProtectedMethod.gif|}}[[#Finalize()|Finalize]]** | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] |
- | * **Parameters**:N/A | + | * Description:N/A |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:ProtectedMethod.gif|}}[[#Format(String,BaseShape)|Format]]** | + | ** {{wiki:PublicMethod.gif|}} DrawSample(GeoCanvas) ** |
- | * **Parameters**:String,[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:ProtectedMethod.gif|}}[[#FormatCore(String,BaseShape)|FormatCore]]** | + | == Remarks == |
- | * **Parameters**:String,[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | * //N/A// |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:ProtectedMethod.gif|}}[[#GetLabelingCandidateCore(Feature,GeoCanvas)|GetLabelingCandidateCore]]** | + | * Type:Void |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]],[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set. | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:ProtectedMethod.gif|}}[[#GetLabelingCandidates(Feature,GeoCanvas)|GetLabelingCandidates]]** | + | * //canvas// |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]],[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **DeclaringType**:N/A | + | * Description:N/A |
- | * **Summary**:This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set. | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:ProtectedMethod.gif|}}[[#GetRequiredColumnNamesCore()|GetRequiredColumnNamesCore]]** | + | ** {{wiki:PublicMethod.gif|}} SaveStyle(String) ** |
- | * **Parameters**:N/A | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:This method returns the column data for each feature that is required for the style to properly draw. | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:ProtectedMethod.gif|}}[[#MemberwiseClone()|MemberwiseClone]]** | + | == Remarks == |
- | * **Parameters**:N/A | + | * //N/A// |
- | * **DeclaringType**:Object | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Return Value == |
- | **{{wiki:ProtectedMethod.gif|}}[[#OnFormatted(FormattedPositionStyleEventArgs)|OnFormatted]]** | + | * Type:Void |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.FormattedPositionStyleEventArgs|FormattedPositionStyleEventArgs]] | + | * Description:N/A |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | == Parameters == |
- | **{{wiki:ProtectedMethod.gif|}}[[#OnFormatting(FormattingPositionStyleEventArgs)|OnFormatting]]** | + | * //filePathName// |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.FormattingPositionStyleEventArgs|FormattingPositionStyleEventArgs]] | + | * Type:String |
- | * **DeclaringType**:N/A | + | * Description:N/A |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | <div newline></div> |
- | **{{wiki:ProtectedMethod.gif|}}[[#lD8=(PolygonShape,String,GeoCanvas)|lD8=]]** | + | ** {{wiki:PublicMethod.gif|}} SaveStyle(Stream) ** |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.PolygonShape|PolygonShape]],String,[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | <div class_table> | + | * //N/A// |
- | **{{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}}[[#sz8=(PolygonShape,GeoCanvas)|sz8=]]** | + | == Remarks == |
- | * **Parameters**:[[ThinkGeo.MapSuite.Core.PolygonShape|PolygonShape]],[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * //N/A// |
- | * **DeclaringType**:N/A | + | |
- | * **Summary**:N/A | + | |
- | </div> | + | |
- | === Public Properties === | + | == Return Value == |
- | **{{wiki:PublicProperty.gif|}}[[#AbbreviationDictionary|AbbreviationDictionary]]** | + | * Type:Void |
- | * **Return**:Dictionary<String,String> | + | * Description:N/A |
- | * **Summary**:N/A | + | |
- | **{{wiki:PublicProperty.gif|}}[[#AllowLineCarriage|AllowLineCarriage]]** | + | == Parameters == |
- | * **Return**:Boolean | + | * //stream// |
- | * **Summary**:This property gets and sets whether the labeler will allow carriage returns to be inserted. | + | * Type:Stream |
+ | * Description:N/A | ||
- | **{{wiki:PublicProperty.gif|}}[[#BestPlacement|BestPlacement]]** | + | <div newline></div> |
- | * **Return**:Boolean | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | * **Summary**:This property gets and sets whether the labeler will attempt to change the label position to avoid overlapping for point-based features. | + | |
- | **{{wiki:PublicProperty.gif|}}[[#BestPlacementSymbolHeight|BestPlacementSymbolHeight]]** | + | * //N/A// |
- | * **Return**:Single | + | == Remarks == |
- | * **Summary**:N/A | + | * //N/A// |
- | **{{wiki:PublicProperty.gif|}}[[#BestPlacementSymbolWidth|BestPlacementSymbolWidth]]** | + | == Return Value == |
- | * **Return**:Single | + | * Type:String |
- | * **Summary**:N/A | + | * Description:N/A |
- | **{{wiki:PublicProperty.gif|}}[[#DuplicateRule|DuplicateRule]]** | + | == Parameters == |
- | * **Return**:[[ThinkGeo.MapSuite.Core.LabelDuplicateRule|LabelDuplicateRule]] | + | <div newline></div> |
- | * **Summary**:This property gets and sets the rule that determines how duplicate labels are handled. | + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** |
- | **{{wiki:PublicProperty.gif|}}[[#Filters|Filters]]** | + | * //N/A// |
- | * **Return**:Collection<String> | + | == Remarks == |
- | * **Summary**:N/A | + | * //N/A// |
- | **{{wiki:PublicProperty.gif|}}[[#FittingPolygon|FittingPolygon]]** | + | == Return Value == |
- | * **Return**:Boolean | + | * Type:Boolean |
- | * **Summary**:This property gets and sets whether the labeler will try to fit the label as best as it can within the boundary of a polygon. | + | * Description:N/A |
- | **{{wiki:PublicProperty.gif|}}[[#FittingPolygonFactor|FittingPolygonFactor]]** | + | == Parameters == |
- | * **Return**:Double | + | * //obj// |
- | * **Summary**:This property gets and sets the factor to which it will keep the label inside of the polygon. | + | * Type:Object |
+ | * Description:N/A | ||
- | **{{wiki:PublicProperty.gif|}}[[#ForceLineCarriage|ForceLineCarriage]]** | + | <div newline></div> |
- | * **Return**:Boolean | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | * **Summary**:This property gets and sets whether the labeler will force carriage returns to be inserted. | + | |
- | **{{wiki:PublicProperty.gif|}}[[#GridSize|GridSize]]** | + | * //N/A// |
- | * **Return**:Int32 | + | == Remarks == |
- | * **Summary**:This property gets and sets the grid size used for deterministic labeling. | + | * //N/A// |
- | **{{wiki:PublicProperty.gif|}}[[#IsActive|IsActive]]** | + | == Return Value == |
- | * **Return**:Boolean | + | * Type:Int32 |
- | * **Summary**:N/A | + | * Description:N/A |
- | **{{wiki:PublicProperty.gif|}}[[#LabelAllLineParts|LabelAllLineParts]]** | + | == Parameters == |
- | * **Return**:Boolean | + | <div newline></div> |
- | * **Summary**:This property gets and sets whether the labeler will label every part of a multi-part line. | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
- | **{{wiki:PublicProperty.gif|}}[[#LabelAllPolygonParts|LabelAllPolygonParts]]** | + | * //N/A// |
- | * **Return**:Boolean | + | == Remarks == |
- | * **Summary**:This property gets and sets whether the labeler will label every part of a multi-part polygon. | + | * //N/A// |
- | **{{wiki:PublicProperty.gif|}}[[#LeaderLineMinimumLengthInPixels|LeaderLineMinimumLengthInPixels]]** | + | == Return Value == |
- | * **Return**:Single | + | * Type:Type |
- | * **Summary**:N/A | + | * Description:N/A |
- | **{{wiki:PublicProperty.gif|}}[[#LeaderLineRule|LeaderLineRule]]** | + | == Parameters == |
- | * **Return**:[[ThinkGeo.MapSuite.Core.LabelLeaderLinesRule|LabelLeaderLinesRule]] | + | <div newline></div> |
- | * **Summary**:N/A | + | ==== Protected Methods ==== |
+ | ** {{wiki:ProtectedMethod.gif|}} DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** | ||
- | **{{wiki:PublicProperty.gif|}}[[#LeaderLineStyle|LeaderLineStyle]]** | + | * //This method draws the features on the canvas you provided.// |
- | * **Return**:[[ThinkGeo.MapSuite.Core.LineStyle|LineStyle]] | + | == Remarks == |
- | * **Summary**:N/A | + | * //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.// |
- | **{{wiki:PublicProperty.gif|}}[[#MaskType|MaskType]]** | + | == Return Value == |
- | * **Return**:[[ThinkGeo.MapSuite.Core.MaskType|MaskType]] | + | * Type:Void |
- | * **Summary**:N/A | + | * Description:None |
- | **{{wiki:PublicProperty.gif|}}[[#MaxNudgingInPixel|MaxNudgingInPixel]]** | + | == Parameters == |
- | * **Return**:Int32 | + | * //features// |
- | * **Summary**:N/A | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
+ | * Description:This parameter represents the features you want to draw on the canvas. | ||
- | **{{wiki:PublicProperty.gif|}}[[#Name|Name]]** | + | * //canvas// |
- | * **Return**:String | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **Summary**:N/A | + | * Description:This parameter represents the canvas you want to draw the features on. |
- | **{{wiki:PublicProperty.gif|}}[[#NudgingIntervalInPixel|NudgingIntervalInPixel]]** | + | * //labelsInThisLayer// |
- | * **Return**:Single | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Summary**:N/A | + | * Description:The labels will be drawn in the current layer only. |
- | **{{wiki:PublicProperty.gif|}}[[#OverlappingRule|OverlappingRule]]** | + | * //labelsInAllLayers// |
- | * **Return**:[[ThinkGeo.MapSuite.Core.LabelOverlappingRule|LabelOverlappingRule]] | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Summary**:This property gets and sets the rule that determines how overlapping labels are handled. | + | * Description:The labels will be drawn in all layers. |
- | **{{wiki:PublicProperty.gif|}}[[#PointPlacement|PointPlacement]]** | + | <div newline></div> |
- | * **Return**:[[ThinkGeo.MapSuite.Core.PointPlacement|PointPlacement]] | + | ** {{wiki:ProtectedMethod.gif|}} GetRequiredColumnNamesCore() ** |
- | * **Summary**:This property gets and sets the location of the label for point features relative to the point. | + | |
- | **{{wiki:PublicProperty.gif|}}[[#PolygonLabelingLocationMode|PolygonLabelingLocationMode]]** | + | * //This method returns the column data for each feature that is required for the style to properly draw.// |
- | * **Return**:[[ThinkGeo.MapSuite.Core.PolygonLabelingLocationMode|PolygonLabelingLocationMode]] | + | == Remarks == |
- | * **Summary**:This property gets and sets the mode that determines how to locate polygon's labeling | + | * //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.// |
- | **{{wiki:PublicProperty.gif|}}[[#RequiredColumnNames|RequiredColumnNames]]** | + | == Return Value == |
- | * **Return**:Collection<String> | + | * Type:Collection<String> |
- | * **Summary**:N/A | + | * Description:This method returns a collection of the column names that it needs. |
- | **{{wiki:PublicProperty.gif|}}[[#SuppressPartialLabels|SuppressPartialLabels]]** | + | == Parameters == |
- | * **Return**:Boolean | + | <div newline></div> |
- | * **Summary**:This property gets and sets whether a partial label in the current extent will be drawn or not. | + | ** {{wiki:ProtectedMethod.gif|}} FilterFeatures(IEnumerable<Feature>,GeoCanvas) ** |
- | **{{wiki:PublicProperty.gif|}}[[#TextLineSegmentRatio|TextLineSegmentRatio]]** | + | * //This method filters the features based on the grid size to facilitate deterministic labeling.// |
- | * **Return**:Double | + | == Remarks == |
- | * **Summary**:This property gets and sets the ratio required for the label length to match the line length. | + | * //This method is the concrete wrapper for the abstract method FilterFeaturesCore. In this method, we filter the features based on the grid size to facilitate deterministic labeling. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.// |
- | === Protected Properties === | + | == Return Value == |
- | **{{wiki:ProtectedProperty.gif|}}[[#Advanced|Advanced]]** | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
- | * **Return**:[[ThinkGeo.MapSuite.Core.TextStyleAdvanced|TextStyleAdvanced]] | + | * Description:This method returns the features that will be considered for labeling. |
- | * **Summary**:This property gets the advanced properties of the class. | + | |
- | **{{wiki:ProtectedProperty.gif|}}[[#AllowSpline|AllowSpline]]** | + | == Parameters == |
- | * **Return**:Boolean | + | * //features// |
- | * **Summary**:This property gets and sets whether line labels are allowed to spline around curved lines. | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
+ | * Description:This parameter represents the features that will be filtered. | ||
- | **{{wiki:ProtectedProperty.gif|}}[[#CustomTextStyles|CustomTextStyles]]** | + | * //canvas// |
- | * **Return**:Collection<[[ThinkGeo.MapSuite.Core.TextStyle|TextStyle]]> | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **Summary**:This property returns a collection of area styles, allowing you to stack multiple area styles on top of each other. | + | * Description:This parameter is the canvas that will be used for calculating font sizes. |
- | **{{wiki:ProtectedProperty.gif|}}[[#DateFormat|DateFormat]]** | + | <div newline></div> |
- | * **Return**:String | + | ** {{wiki:ProtectedMethod.gif|}} FilterFeaturesCore(IEnumerable<Feature>,GeoCanvas) ** |
- | * **Summary**:This property gets and sets the format that will be applied to the text which can be parsed to DateTime type. | + | |
- | **{{wiki:ProtectedProperty.gif|}}[[#DrawingLevel|DrawingLevel]]** | + | * //This method filters the features based on the grid size to facilitate deterministic labeling.// |
- | * **Return**:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | + | == Remarks == |
- | * **Summary**:Gets or sets the DrawingLavel for this style. | + | * //This overridden method is called from the concrete public method FilterFeatures. In this method, we filter the features based on the grid size to facilitate deterministic labeling.// |
- | **{{wiki:ProtectedProperty.gif|}}[[#FiltersCore|FiltersCore]]** | + | == Return Value == |
- | * **Return**:Collection<String> | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
- | * **Summary**:N/A | + | * Description:This method returns the features that will be considered for labeling. |
- | **{{wiki:ProtectedProperty.gif|}}[[#FittingLineInScreen|FittingLineInScreen]]** | + | == Parameters == |
- | * **Return**:Boolean | + | * //features// |
- | * **Summary**:This property gets and sets whether the labeler will try to fit the label as best as it can on the visible part of a line on the screen. | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
+ | * Description:This parameter represents the features that will be filtered. | ||
- | **{{wiki:ProtectedProperty.gif|}}[[#FittingPolygonInScreen|FittingPolygonInScreen]]** | + | * //canvas// |
- | * **Return**:Boolean | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **Summary**:This property gets and sets whether the labeler will try to fit the label as best as it can on the visible part of a polygon on the screen. | + | * Description:This parameter is the canvas that will be used for calculating font sizes. |
- | **{{wiki:ProtectedProperty.gif|}}[[#Font|Font]]** | + | <div newline></div> |
- | * **Return**:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | + | ** {{wiki:ProtectedMethod.gif|}} AbbreviateText(Feature,GeoCanvas) ** |
- | * **Summary**:This property gets and sets the font that will be used to draw the text. | + | |
- | **{{wiki:ProtectedProperty.gif|}}[[#ForceHorizontalLabelForLine|ForceHorizontalLabelForLine]]** | + | * //N/A// |
- | * **Return**:Boolean | + | == Remarks == |
- | * **Summary**:This property gets and sets whether we should force horizontal labeling for lines. | + | * //N/A// |
- | **{{wiki:ProtectedProperty.gif|}}[[#HaloPen|HaloPen]]** | + | == Return Value == |
- | * **Return**:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | + | * Type:Void |
- | * **Summary**:This property gets and sets the halo pen you may use to draw a halo around the text. | + | * Description:N/A |
- | **{{wiki:ProtectedProperty.gif|}}[[#LabelPositions|LabelPositions]]** | + | == Parameters == |
- | * **Return**:Dictionary<String,[[ThinkGeo.MapSuite.Core.WorldLabelingCandidate|WorldLabelingCandidate]]> | + | * //feature// |
- | * **Summary**:Gets a value represents a keyValuepair which is a feature id and label position of the feature | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
+ | * Description:N/A | ||
- | **{{wiki:ProtectedProperty.gif|}}[[#Mask|Mask]]** | + | * //canvas// |
- | * **Return**:[[ThinkGeo.MapSuite.Core.AreaStyle|AreaStyle]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **Summary**:This property gets and sets the AreaStyle used to draw a mask behind the text. | + | * Description:N/A |
- | **{{wiki:ProtectedProperty.gif|}}[[#MaskMargin|MaskMargin]]** | + | <div newline></div> |
- | * **Return**:Int32 | + | ** {{wiki:ProtectedMethod.gif|}} AbbreviateTextCore(Feature,GeoCanvas) ** |
- | * **Summary**:This property gets and sets the margin around the text that will be used for the mask. | + | |
- | **{{wiki:ProtectedProperty.gif|}}[[#NumericFormat|NumericFormat]]** | + | * //N/A// |
- | * **Return**:String | + | == Remarks == |
- | * **Summary**:This property gets and sets the format that will be applied to the text which can be parsed to double type. | + | * //N/A// |
- | **{{wiki:ProtectedProperty.gif|}}[[#RotationAngle|RotationAngle]]** | + | == Return Value == |
- | * **Return**:Double | + | * Type:Void |
- | * **Summary**:This property gets and sets the rotation angle of the item being positioned. | + | * Description:N/A |
- | **{{wiki:ProtectedProperty.gif|}}[[#SplineType|SplineType]]** | + | == Parameters == |
- | * **Return**:[[ThinkGeo.MapSuite.Core.SplineType|SplineType]] | + | * //feature// |
- | * **Summary**:Gets or sets the SplineType for labeling. | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
+ | * Description:N/A | ||
- | **{{wiki:ProtectedProperty.gif|}}[[#TextColumnName|TextColumnName]]** | + | * //canvas// |
- | * **Return**:String | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **Summary**:This property gets and sets the column name in the data that you want to get the text from. | + | * Description:N/A |
- | **{{wiki:ProtectedProperty.gif|}}[[#TextFormat|TextFormat]]** | + | <div newline></div> |
- | * **Return**:String | + | ** {{wiki:ProtectedMethod.gif|}} GetLabelingCandidates(Feature,GeoCanvas) ** |
- | * **Summary**:This property gets and sets the format that will be applied to the text. | + | |
- | **{{wiki:ProtectedProperty.gif|}}[[#TextSolidBrush|TextSolidBrush]]** | + | * //This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set.// |
- | * **Return**:[[ThinkGeo.MapSuite.Core.GeoSolidBrush|GeoSolidBrush]] | + | == Remarks == |
- | * **Summary**:This property gets and sets the SolidBrush that will be used to draw the text. | + | * //This method is the concrete wrapper for the abstract method GetLabelingCanidatesCore. This method determines if the feature passed in is a good candidate to be labeled based on the labeling properties set. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.// |
- | **{{wiki:ProtectedProperty.gif|}}[[#XOffsetInPixel|XOffsetInPixel]]** | + | == Return Value == |
- | * **Return**:Single | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]]> |
- | * **Summary**:This property gets and sets the X pixel offset used for drawing each feature. | + | * Description:A collection of labeling candidates. |
- | **{{wiki:ProtectedProperty.gif|}}[[#YOffsetInPixel|YOffsetInPixel]]** | + | == Parameters == |
- | * **Return**:Single | + | * //feature// |
- | * **Summary**:This property gets and sets the Y pixel offset used for drawing each feature. | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
+ | * Description:This parameter is the feature that will be considered as a labeling candidate. | ||
- | **{{wiki:ProtectedProperty.gif|}}[[#uBs=|uBs=]]** | + | * //canvas// |
- | * **Return**:Boolean | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **Summary**:N/A | + | * Description:This parameter is the canvas that will be used to draw the feature. This method will not draw on this canvas, but rather will use it to determine font size, etc. |
- | === Public Events === | + | <div newline></div> |
- | **{{wiki:PublicEvent.gif|}}[[#Formatted|Formatted]]** | + | ** {{wiki:ProtectedMethod.gif|}} GetLabelingCandidateCore(Feature,GeoCanvas) ** |
- | * **Event Arguments**:[[ThinkGeo.MapSuite.Core.FormattedPositionStyleEventArgs|FormattedPositionStyleEventArgs]] | + | |
- | * **Summary**:N/A | + | |
- | **{{wiki:PublicEvent.gif|}}[[#Formatting|Formatting]]** | + | * //This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set.// |
- | * **Event Arguments**:[[ThinkGeo.MapSuite.Core.FormattingPositionStyleEventArgs|FormattingPositionStyleEventArgs]] | + | == Remarks == |
- | * **Summary**:N/A | + | * //This overridden method is called from the concrete public method GetLabelingCanidate. 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.// |
- | ===== Public Constructors ===== | + | == Return Value == |
- | ===== Protected Constructors ===== | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]]> |
- | === PositionStyle() === | + | * Description:A collection of labeling candidates. |
- | This is the default constructor for the class. | + | |
- | ==== Remarks ==== | + | |
- | None | + | |
- | ==== Parameters ==== | + | |
- | [[#Protected Constructors|Go Back]] | + | |
- | ===== Public Methods ===== | + | |
- | === CloneDeep() === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | * //feature// |
- | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
+ | * Description:This parameter is the feature that will be considered as a labeling candidate. | ||
- | ==== Parameters ==== | + | * //canvas// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | === Draw(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) === | + | * Description:This parameter is the canvas that will be used to draw the feature. This method will not draw on this canvas, but rather will use it to determine font size, etc. |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | <div newline></div> |
- | * **Return Type**:Void | + | ** {{wiki:ProtectedMethod.gif|}} CheckDuplicate(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | + | * //This method will determine whether the label will be suppressed because it is a duplicate.// |
- | **features** | + | == Remarks == |
- | * **Type**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | + | * //This method is the concrete wrapper for the abstract method CheckDuplicateCore. This method will determine if the label will be suppressed because it is a duplicate. It also takes into consideration the duplicate rules for the class. So, for example, if we set to allow duplicates, then the method will always return false. If the class is set to not allow duplicates and this label is a duplicate, then it will return true and be suppressed. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.// |
- | * **Description**:N/A | + | |
- | **canvas** | + | == Return Value == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Type:Boolean |
- | * **Description**:N/A | + | * Description:This method returns whether the label will be suppressed as a duplicate. |
- | **labelsInThisLayer** | + | == Parameters == |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * //labelingCandidate// |
- | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]] |
+ | * Description:This parameter is the labeling candidate that will be checked to determine if it is a duplicate. | ||
- | **labelsInAllLayers** | + | * //canvas// |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **Description**:N/A | + | * Description:This parameter is the canvas used for calculations. |
- | [[#Public Methods|Go Back]] | + | * //labelsInThisLayer// |
- | === Draw(IEnumerable<BaseShape>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) === | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | N/A | + | * Description:The labels will be drawn in the current layer only. |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //labelsInAllLayers// |
- | * **Return Type**:Void | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Description**:N/A | + | * Description:The labels will be drawn in all layers. |
- | ==== Parameters ==== | + | <div newline></div> |
- | **shapes** | + | ** {{wiki:ProtectedMethod.gif|}} CheckDuplicateCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | * **Type**:IEnumerable<[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]> | + | |
- | * **Description**:N/A | + | |
- | **canvas** | + | * //This method will determine if the label will be suppressed because it is a duplicate.// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | == Remarks == |
- | * **Description**:N/A | + | * //This overridden method is called from the concrete public method CheckDuplicate. This method will determine if the label will be suppressed because it is a duplicate. It also takes into consideration the duplicate rules for the class. So, for example, if we set to allow duplicates, then the method will always return false. If the class is set to not allow duplicates and this label is a duplicate, then it will return true and be suppressed.// |
- | **labelsInThisLayer** | + | == Return Value == |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * Type:Boolean |
- | * **Description**:N/A | + | * Description:This method returns whether the label will be suppressed as a duplicate. |
- | **labelsInAllLayers** | + | == Parameters == |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * //labelingCandidate// |
- | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]] |
+ | * Description:This parameter is the labeling candidate that will be checked to determine if it is a duplicate. | ||
- | [[#Public Methods|Go Back]] | + | * //canvas// |
- | === DrawSample(GeoCanvas,DrawingRectangleF) === | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | N/A | + | * Description:This parameter is the canvas that will be used for calculations. |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //labelsInThisLayer// |
- | * **Return Type**:Void | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Description**:N/A | + | * Description:The labels will be drawn in the current layer only. |
- | ==== Parameters ==== | + | * //labelsInAllLayers// |
- | **canvas** | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Description:The labels will be drawn in all layers. |
- | * **Description**:N/A | + | |
- | **drawingExtent** | + | <div newline></div> |
- | * **Type**:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | + | ** {{wiki:ProtectedMethod.gif|}} CheckOverlapping(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | * //This method will determine if the label will be suppressed because of overlapping.// |
- | === DrawSample(GeoCanvas) === | + | == Remarks == |
- | N/A | + | * //This method is the concrete wrapper for the abstract method CheckOverlappingCore. This method will determine if the label will be suppressed because it is overlapping another label. It also takes into consideration the overlapping rules for the class. So, for example, if we set to allow overlap, then the method will always return false. If the class is set to not allow overlap and this label is overlapping, then it will return true and be suppressed. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:Void | + | * Type:Boolean |
- | * **Description**:N/A | + | * Description:This method returns whether the label will be suppressed because of overlapping. |
- | ==== Parameters ==== | + | == Parameters == |
- | **canvas** | + | * //labelingCandidate// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Type:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]] |
- | * **Description**:N/A | + | * Description:This parameter is the labeling candidate that will be checked to determine if it is overlapping. |
- | [[#Public Methods|Go Back]] | + | * //canvas// |
- | === Equals(Object) === | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | N/A | + | * Description:This parameter is the canvas that will be used for calculations. |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //labelsInThisLayer// |
- | * **Return Type**:Boolean | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Description**:N/A | + | * Description:The labels will be drawn in the current layer only. |
- | ==== Parameters ==== | + | * //labelsInAllLayers// |
- | **obj** | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Type**:Object | + | * Description:The labels will be drawn in all layers. |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | === GetHashCode() === | + | ** {{wiki:ProtectedMethod.gif|}} CheckOverlappingCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) ** |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //This method will determine whether the label will be suppressed because of overlapping.// |
- | * **Return Type**:Int32 | + | == Remarks == |
- | * **Description**:N/A | + | * //This overridden method is called from the concrete public method CheckOverlapping. This method will determine if the label will be suppressed because it is overlapping another label. It also takes into consideration the overlapping rules for the class. So, for example, if we set to allow overlap, then the method will always return false. If the class is set to not allow overlap and this label is overlapping, then it will return true and be suppressed.// |
- | ==== Parameters ==== | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Boolean |
- | === GetRequiredColumnNames() === | + | * Description:This method returns whether the label will be suppressed because of overlapping. |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:Collection<String> | + | * //labelingCandidate// |
- | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]] |
+ | * Description:This parameter is the labeling candidate that will be checked to determine if it is overlapping. | ||
- | ==== Parameters ==== | + | * //canvas// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | === GetType() === | + | * Description:This parameter is the canvas that will be used for calculations. |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //labelsInThisLayer// |
- | * **Return Type**:Type | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | * **Description**:N/A | + | * Description:The labels will be drawn in the current layer only. |
- | ==== Parameters ==== | + | * //labelsInAllLayers// |
- | [[#Public Methods|Go Back]] | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | === SaveStyle(String) === | + | * Description:The labels will be drawn in all layers. |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | <div newline></div> |
- | * **Return Type**:Void | + | ** {{wiki:ProtectedMethod.gif|}} GetLabelingCandidateForOnePolygon(PolygonShape,String,GeoCanvas) ** |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | + | * //N/A// |
- | **filePathName** | + | == Remarks == |
- | * **Type**:String | + | * //N/A// |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | == Return Value == |
- | === SaveStyle(Stream) === | + | * Type:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]] |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Parameters == |
- | * **Return Type**:Void | + | * //polygon// |
- | * **Description**:N/A | + | * Type:[[ThinkGeo.MapSuite.Core.PolygonShape|PolygonShape]] |
+ | * Description:N/A | ||
- | ==== Parameters ==== | + | * //text// |
- | **stream** | + | * Type:String |
- | * **Type**:Stream | + | * Description:N/A |
- | * **Description**:N/A | + | |
- | [[#Public Methods|Go Back]] | + | * //canvas// |
- | === ToString() === | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | N/A | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | <div newline></div> |
- | * **Return Type**:String | + | ** {{wiki:ProtectedMethod.gif|}} Format(String,BaseShape) ** |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ===== Protected Methods ===== | + | * //N/A// |
- | === AbbreviateText(Feature,GeoCanvas) === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:Void | + | * Type:String |
- | * **Description**:N/A | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **feature** | + | * //text// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | * Type:String |
- | * **Description**:N/A | + | * Description:N/A |
- | **canvas** | + | * //labeledShape// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] |
- | * **Description**:N/A | + | * Description:N/A |
- | [[#Protected Methods|Go Back]] | + | <div newline></div> |
- | === AbbreviateTextCore(Feature,GeoCanvas) === | + | ** {{wiki:ProtectedMethod.gif|}} FormatCore(String,BaseShape) ** |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:Void | + | == Remarks == |
- | * **Description**:N/A | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | **feature** | + | * Type:String |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | * Description:N/A |
- | * **Description**:N/A | + | |
- | **canvas** | + | == Parameters == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * //text// |
- | * **Description**:N/A | + | * Type:String |
+ | * Description:N/A | ||
- | [[#Protected Methods|Go Back]] | + | * //labeledShape// |
- | === CheckDuplicate(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) === | + | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] |
- | This method will determine whether the label will be suppressed because it is a duplicate. | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | This method is the concrete wrapper for the abstract method CheckDuplicateCore. This method will determine if the label will be suppressed because it is a duplicate. It also takes into consideration the duplicate rules for the class. So, for example, if we set to allow duplicates, then the method will always return false. If the class is set to not allow duplicates and this label is a duplicate, then it will return true and be suppressed. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | |
- | **Return Value** | + | <div newline></div> |
- | * **Return Type**:Boolean | + | ** {{wiki:ProtectedMethod.gif|}} OnFormatting(FormattingPositionStyleEventArgs) ** |
- | * **Description**:This method returns whether the label will be suppressed as a duplicate. | + | |
- | ==== Parameters ==== | + | * //N/A// |
- | **labelingCandidate** | + | == Remarks == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]] | + | * //N/A// |
- | * **Description**:This parameter is the labeling candidate that will be checked to determine if it is a duplicate. | + | |
- | **canvas** | + | == Return Value == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Type:Void |
- | * **Description**:This parameter is the canvas used for calculations. | + | * Description:N/A |
- | **labelsInThisLayer** | + | == Parameters == |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * //e// |
- | * **Description**:The labels will be drawn in the current layer only. | + | * Type:[[ThinkGeo.MapSuite.Core.FormattingPositionStyleEventArgs|FormattingPositionStyleEventArgs]] |
+ | * Description:N/A | ||
- | **labelsInAllLayers** | + | <div newline></div> |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | ** {{wiki:ProtectedMethod.gif|}} OnFormatted(FormattedPositionStyleEventArgs) ** |
- | * **Description**:The labels will be drawn in all layers. | + | |
- | [[#Protected Methods|Go Back]] | + | * //N/A// |
- | === CheckDuplicateCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) === | + | == Remarks == |
- | This method will determine if the label will be suppressed because it is a duplicate. | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | This overridden method is called from the concrete public method CheckDuplicate. This method will determine if the label will be suppressed because it is a duplicate. It also takes into consideration the duplicate rules for the class. So, for example, if we set to allow duplicates, then the method will always return false. If the class is set to not allow duplicates and this label is a duplicate, then it will return true and be suppressed. | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:Boolean | + | * Type:Void |
- | * **Description**:This method returns whether the label will be suppressed as a duplicate. | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **labelingCandidate** | + | * //e// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]] | + | * Type:[[ThinkGeo.MapSuite.Core.FormattedPositionStyleEventArgs|FormattedPositionStyleEventArgs]] |
- | * **Description**:This parameter is the labeling candidate that will be checked to determine if it is a duplicate. | + | * Description:N/A |
- | **canvas** | + | <div newline></div> |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** |
- | * **Description**:This parameter is the canvas that will be used for calculations. | + | |
- | **labelsInThisLayer** | + | * //N/A// |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | == Remarks == |
- | * **Description**:The labels will be drawn in the current layer only. | + | * //N/A// |
- | **labelsInAllLayers** | + | == Return Value == |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * Type:[[ThinkGeo.MapSuite.Core.Style|Style]] |
- | * **Description**:The labels will be drawn in all layers. | + | * Description:N/A |
- | [[#Protected Methods|Go Back]] | + | == Parameters == |
- | === CheckOverlapping(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) === | + | <div newline></div> |
- | This method will determine if the label will be suppressed because of overlapping. | + | ** {{wiki:ProtectedMethod.gif|}} DrawSampleCore(GeoCanvas,DrawingRectangleF) ** |
- | ==== Remarks ==== | + | |
- | This method is the concrete wrapper for the abstract method CheckOverlappingCore. This method will determine if the label will be suppressed because it is overlapping another label. It also takes into consideration the overlapping rules for the class. So, for example, if we set to allow overlap, then the method will always return false. If the class is set to not allow overlap and this label is overlapping, then it will return true and be suppressed. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | |
- | **Return Value** | + | * //N/A// |
- | * **Return Type**:Boolean | + | == Remarks == |
- | * **Description**:This method returns whether the label will be suppressed because of overlapping. | + | * //N/A// |
- | ==== Parameters ==== | + | == Return Value == |
- | **labelingCandidate** | + | * Type:Void |
- | * **Type**:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]] | + | * Description:N/A |
- | * **Description**:This parameter is the labeling candidate that will be checked to determine if it is overlapping. | + | |
- | **canvas** | + | == Parameters == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * //canvas// |
- | * **Description**:This parameter is the canvas that will be used for calculations. | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
+ | * Description:N/A | ||
- | **labelsInThisLayer** | + | * //drawingExtent// |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] |
- | * **Description**:The labels will be drawn in the current layer only. | + | * Description:N/A |
- | **labelsInAllLayers** | + | <div newline></div> |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** |
- | * **Description**:The labels will be drawn in all layers. | + | |
- | [[#Protected Methods|Go Back]] | + | * //N/A// |
- | === CheckOverlappingCore(LabelingCandidate,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) === | + | == Remarks == |
- | This method will determine whether the label will be suppressed because of overlapping. | + | * //N/A// |
- | ==== Remarks ==== | + | |
- | This overridden method is called from the concrete public method CheckOverlapping. This method will determine if the label will be suppressed because it is overlapping another label. It also takes into consideration the overlapping rules for the class. So, for example, if we set to allow overlap, then the method will always return false. If the class is set to not allow overlap and this label is overlapping, then it will return true and be suppressed. | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:Boolean | + | * Type:Void |
- | * **Description**:This method returns whether the label will be suppressed because of overlapping. | + | * Description:N/A |
- | ==== Parameters ==== | + | == Parameters == |
- | **labelingCandidate** | + | <div newline></div> |
- | * **Type**:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]] | + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** |
- | * **Description**:This parameter is the labeling candidate that will be checked to determine if it is overlapping. | + | |
- | **canvas** | + | * //N/A// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | == Remarks == |
- | * **Description**:This parameter is the canvas that will be used for calculations. | + | * //N/A// |
- | **labelsInThisLayer** | + | == Return Value == |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * Type:Object |
- | * **Description**:The labels will be drawn in the current layer only. | + | * Description:N/A |
- | **labelsInAllLayers** | + | == Parameters == |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | <div newline></div> |
- | * **Description**:The labels will be drawn in all layers. | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} ConvertToScreenShape(Feature,GeoCanvas) ** |
- | [[#Protected Methods|Go Back]] | + | * //This method converts a feature in world coordinates to screen coordinates.// |
- | === CloneDeepCore() === | + | == Remarks == |
- | N/A | + | * //This overridden method can be called by this class and its sub concrete classes. In this method, we take the canvas and the feature in world coordinates and convert it to screen coordinates.// |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | == Return Value == |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Style|Style]] | + | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] |
- | * **Description**:N/A | + | * Description:A screen coordinate shape. |
- | ==== Parameters ==== | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //feature// |
- | === ConvertToScreenShape(Feature,GeoCanvas) === | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | This method converts a feature in world coordinates to screen coordinates. | + | * Description:This parameter is the feature to be converted from world coordinates. |
- | ==== Remarks ==== | + | |
- | This overridden method can be called by this class and its sub concrete classes. In this method, we take the canvas and the feature in world coordinates and convert it to screen coordinates. | + | |
- | **Return Value** | + | * //canvas// |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **Description**:A screen coordinate shape. | + | * Description:This parameter is the canvas that will be used to convert the world coordinate feature to a screen coorindate feature. |
- | ==== Parameters ==== | + | <div newline></div> |
- | **feature** | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} ConvertToWorldCoordinate(PolygonShape,GeoCanvas) ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | |
- | * **Description**:This parameter is the feature to be converted from world coordinates. | + | |
- | **canvas** | + | * //N/A// |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | == Remarks == |
- | * **Description**:This parameter is the canvas that will be used to convert the world coordinate feature to a screen coorindate feature. | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Return Value == |
- | === DrawCore(IEnumerable<Feature>,GeoCanvas,Collection<SimpleCandidate>,Collection<SimpleCandidate>) === | + | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] |
- | This method draws the features on the canvas you provided. | + | * Description:N/A |
- | ==== Remarks ==== | + | |
- | 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** | + | == Parameters == |
- | * **Return Type**:Void | + | * //simplyPolygon// |
- | * **Description**:None | + | * Type:[[ThinkGeo.MapSuite.Core.PolygonShape|PolygonShape]] |
+ | * Description:N/A | ||
- | ==== Parameters ==== | + | * //canvas// |
- | **features** | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | * **Type**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | + | * Description:N/A |
- | * **Description**:This parameter represents the features you want to draw on the canvas. | + | |
- | **canvas** | + | <div newline></div> |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | ==== Public Properties ==== |
- | * **Description**:This parameter represents the canvas you want to draw the features on. | + | ** {{wiki:PublicProperty.gif|}} PolygonLabelingLocationMode ** |
- | **labelsInThisLayer** | + | This property gets and sets the mode that determines how to locate polygon's labeling |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | == Remarks == |
- | * **Description**:The labels will be drawn in the current layer only. | + | There are two ways to handle polygon's labeling location. The first is to use polygon's centroid as the labeling location, the second way is to use polygon's boungdingbox center as the labeling location. |
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PolygonLabelingLocationMode|PolygonLabelingLocationMode]] | ||
- | **labelsInAllLayers** | + | ** {{wiki:PublicProperty.gif|}} MaxNudgingInPixel ** |
- | * **Type**:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | |
- | * **Description**:The labels will be drawn in all layers. | + | |
- | [[#Protected Methods|Go Back]] | ||
- | === DrawSampleCore(GeoCanvas,DrawingRectangleF) === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
+ | == Return Value == | ||
+ | * Type:Int32 | ||
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} NudgingIntervalInPixel ** |
- | * **Return Type**:Void | + | |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | + | N/A |
- | **canvas** | + | == Remarks == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | N/A |
- | * **Description**:N/A | + | == Return Value == |
+ | * Type:Single | ||
- | **drawingExtent** | + | ** {{wiki:PublicProperty.gif|}} BestPlacementSymbolWidth ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.DrawingRectangleF|DrawingRectangleF]] | + | |
- | * **Description**:N/A | + | |
- | [[#Protected Methods|Go Back]] | + | N/A |
- | === FilterFeatures(IEnumerable<Feature>,GeoCanvas) === | + | == Remarks == |
- | This method filters the features based on the grid size to facilitate deterministic labeling. | + | N/A |
- | ==== Remarks ==== | + | == Return Value == |
- | This method is the concrete wrapper for the abstract method FilterFeaturesCore. In this method, we filter the features based on the grid size to facilitate deterministic labeling. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | * Type:Single |
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} BestPlacementSymbolHeight ** |
- | * **Return Type**:Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | + | |
- | * **Description**:This method returns the features that will be considered for labeling. | + | |
- | ==== Parameters ==== | + | N/A |
- | **features** | + | == Remarks == |
- | * **Type**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | + | N/A |
- | * **Description**:This parameter represents the features that will be filtered. | + | == Return Value == |
+ | * Type:Single | ||
- | **canvas** | + | ** {{wiki:PublicProperty.gif|}} AbbreviationDictionary ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | |
- | * **Description**:This parameter is the canvas that will be used for calculating font sizes. | + | |
- | [[#Protected Methods|Go Back]] | + | N/A |
- | === FilterFeaturesCore(IEnumerable<Feature>,GeoCanvas) === | + | == Remarks == |
- | This method filters the features based on the grid size to facilitate deterministic labeling. | + | N/A |
- | ==== Remarks ==== | + | == Return Value == |
- | This overridden method is called from the concrete public method FilterFeatures. In this method, we filter the features based on the grid size to facilitate deterministic labeling. | + | * Type:Dictionary<String,String> |
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} LeaderLineStyle ** |
- | * **Return Type**:Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | + | |
- | * **Description**:This method returns the features that will be considered for labeling. | + | |
- | ==== Parameters ==== | ||
- | **features** | ||
- | * **Type**:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | ||
- | * **Description**:This parameter represents the features that will be filtered. | ||
- | |||
- | **canvas** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
- | * **Description**:This parameter is the canvas that will be used for calculating font sizes. | ||
- | |||
- | [[#Protected Methods|Go Back]] | ||
- | === Finalize() === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.LineStyle|LineStyle]] | ||
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} LeaderLineRule ** |
- | * **Return Type**:Void | + | |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | ||
- | [[#Protected Methods|Go Back]] | ||
- | === Format(String,BaseShape) === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.LabelLeaderLinesRule|LabelLeaderLinesRule]] | ||
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} LeaderLineMinimumLengthInPixels ** |
- | * **Return Type**:String | + | |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | ||
- | **text** | ||
- | * **Type**:String | ||
- | * **Description**:N/A | ||
- | |||
- | **labeledShape** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Protected Methods|Go Back]] | ||
- | === FormatCore(String,BaseShape) === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
+ | == Return Value == | ||
+ | * Type:Single | ||
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} GridSize ** |
- | * **Return Type**:String | + | |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | + | This property gets and sets the grid size used for deterministic labeling. |
- | **text** | + | == Remarks == |
- | * **Type**:String | + | The grid size determines how many labels will be considered as candidates for drawing. The smaller the grid size, the higher the density of candidates. Making the grid size too small may have a performance impact. |
- | * **Description**:N/A | + | == Return Value == |
+ | * Type:Int32 | ||
- | **labeledShape** | + | ** {{wiki:PublicProperty.gif|}} DuplicateRule ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | + | |
- | * **Description**:N/A | + | |
- | [[#Protected Methods|Go Back]] | + | This property gets and sets the rule that determines how duplicate labels are handled. |
- | === GetLabelingCandidateCore(Feature,GeoCanvas) === | + | == Remarks == |
- | This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set. | + | There are three ways to handle duplicate label names. The first is to suppress all duplicates, which means if there are two street segments with the same name then only one will be drawn. The second way is to suppress duplicate labels only if they are in one quarter of the screen. In this way, the screen will be divided into four quadrants, and if the two duplicate labels are in different quadrants, then they will both draw. The last way is to draw all duplicates. |
- | ==== Remarks ==== | + | == Return Value == |
- | This overridden method is called from the concrete public method GetLabelingCanidate. 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. | + | * Type:[[ThinkGeo.MapSuite.Core.LabelDuplicateRule|LabelDuplicateRule]] |
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} OverlappingRule ** |
- | * **Return Type**:Collection<[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]]> | + | |
- | * **Description**:A collection of labeling candidates. | + | |
- | ==== Parameters ==== | + | This property gets and sets the rule that determines how overlapping labels are handled. |
- | **feature** | + | == Remarks == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | This defines the rules for label overlapping. Currently, either we allow overlapping or we do not. In the future, we may extend this to allow some percentage of partial overlapping. |
- | * **Description**:This parameter is the feature that will be considered as a labeling candidate. | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.LabelOverlappingRule|LabelOverlappingRule]] | ||
- | **canvas** | + | ** {{wiki:PublicProperty.gif|}} AllowLineCarriage ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | |
- | * **Description**:This parameter is the canvas that will be used to draw the feature. This method will not draw on this canvas, but rather will use it to determine font size, etc. | + | |
- | [[#Protected Methods|Go Back]] | + | This property gets and sets whether the labeler will allow carriage returns to be inserted. |
- | === GetLabelingCandidates(Feature,GeoCanvas) === | + | == Remarks == |
- | This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set. | + | This property enables the labeler to split long labels into multiple lines if need be. For instance, if you have a lake whose name is "Southern Homestead Lake," then the labeler may try and break the name onto multiple lines in order to better label the feature. |
- | ==== Remarks ==== | + | == Return Value == |
- | This method is the concrete wrapper for the abstract method GetLabelingCanidatesCore. This method determines if the feature passed in is a good candidate to be labeled based on the labeling properties set. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | * Type:Boolean |
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} SuppressPartialLabels ** |
- | * **Return Type**:Collection<[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]]> | + | |
- | * **Description**:A collection of labeling candidates. | + | |
- | ==== Parameters ==== | + | This property gets and sets whether a partial label in the current extent will be drawn or not. |
- | **feature** | + | == Remarks == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | This property provides a solution to the "cut off" label issue in Map Suite Web Edition and Desktop Edition, which occurs when multiple tiles exist. When you set this property to true, any labels outside of the current extent will not be drawn. |
- | * **Description**:This parameter is the feature that will be considered as a labeling candidate. | + | == Return Value == |
+ | * Type:Boolean | ||
- | **canvas** | + | ** {{wiki:PublicProperty.gif|}} ForceLineCarriage ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | |
- | * **Description**:This parameter is the canvas that will be used to draw the feature. This method will not draw on this canvas, but rather will use it to determine font size, etc. | + | |
- | [[#Protected Methods|Go Back]] | + | This property gets and sets whether the labeler will force carriage returns to be inserted. |
- | === GetRequiredColumnNamesCore() === | + | == Remarks == |
- | This method returns the column data for each feature that is required for the style to properly draw. | + | This property forces the labeler to split long labels into multiple lines. For instance, if you have a lake whose name is "Southern Homestead Lake," then the labeler will break the name onto multiple lines in order to better label the feature. |
- | ==== Remarks ==== | + | == Return Value == |
- | 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. | + | * Type:Boolean |
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} FittingPolygon ** |
- | * **Return Type**:Collection<String> | + | |
- | * **Description**:This method returns a collection of the column names that it needs. | + | |
- | ==== Parameters ==== | + | This property gets and sets whether the labeler will try to fit the label as best as it can within the boundary of a polygon. |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | === MemberwiseClone() === | + | None |
- | N/A | + | == Return Value == |
- | ==== Remarks ==== | + | * Type:Boolean |
- | N/A | + | |
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} LabelAllPolygonParts ** |
- | * **Return Type**:Object | + | |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | + | This property gets and sets whether the labeler will label every part of a multi-part polygon. |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | === OnFormatted(FormattedPositionStyleEventArgs) === | + | In some cases, you may want to label all of the parts of a multi-part polygon, while in other cases you may not. For example, you may have a series of lakes where you do want to label each polygon. In another case, you may have a country with many small islands and in this case you only want to label the largest polygon. |
- | N/A | + | == Return Value == |
- | ==== Remarks ==== | + | * Type:Boolean |
- | N/A | + | |
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} LabelAllLineParts ** |
- | * **Return Type**:Void | + | |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | + | This property gets and sets whether the labeler will label every part of a multi-part line. |
- | **e** | + | == Remarks == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.FormattedPositionStyleEventArgs|FormattedPositionStyleEventArgs]] | + | In some cases, you may want to label all of the parts of a multi-part line, while in other cases you may not. |
- | * **Description**:N/A | + | == Return Value == |
+ | * Type:Boolean | ||
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicProperty.gif|}} FittingPolygonFactor ** |
- | === OnFormatting(FormattingPositionStyleEventArgs) === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | **Return Value** | + | This property gets and sets the factor to which it will keep the label inside of the polygon. |
- | * **Return Type**:Void | + | == Remarks == |
- | * **Description**:N/A | + | None |
+ | == Return Value == | ||
+ | * Type:Double | ||
- | ==== Parameters ==== | + | ** {{wiki:PublicProperty.gif|}} TextLineSegmentRatio ** |
- | **e** | + | |
- | * **Type**:[[ThinkGeo.MapSuite.Core.FormattingPositionStyleEventArgs|FormattingPositionStyleEventArgs]] | + | |
- | * **Description**:N/A | + | |
- | [[#Protected Methods|Go Back]] | + | This property gets and sets the ratio required for the label length to match the line length. |
- | === lD8=(PolygonShape,String,GeoCanvas) === | + | == Remarks == |
- | N/A | + | This allows you to suppress labels where the label length would greatly exceed the line length. For example, if you set the ratio to 1, then the label will be suppressed if it is longer than the line. If the ratio is lower, then the label would need to be shorter than the line. If higher, then the label is allowed to run past the length of the line. This allows you to control the look of things like road labeling. |
- | ==== Remarks ==== | + | == Return Value == |
- | N/A | + | * Type:Double |
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} BestPlacement ** |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]] | + | |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | + | This property gets and sets whether the labeler will attempt to change the label position to avoid overlapping for point-based features. |
- | **polygon** | + | == Remarks == |
- | * **Type**:[[ThinkGeo.MapSuite.Core.PolygonShape|PolygonShape]] | + | The positioning of point labels is mainly determined by the PointPlacement property. This allows you place the text to the right, top, bottom, etc. of the point. In some cases, placing the text in a certain place will cause many labels to be suppressed when the points are dense. This property allows you to override the PointPlacement property and allow the labeler to try other locations, if the default location would cause the label to be suppressed. |
- | * **Description**:N/A | + | == Return Value == |
+ | * Type:Boolean | ||
- | **text** | + | ** {{wiki:PublicProperty.gif|}} PointPlacement ** |
- | * **Type**:String | + | |
- | * **Description**:N/A | + | This property gets and sets the location of the label for point features relative to the point. |
+ | == Remarks == | ||
+ | This property allows you to choose where the labels are created relative to the point. For example, you can set the property to RightCenter, which would ensure that all labels are placed to the right of and vertically centered with the point. Different kinds of point layers can be positioned differently. If the point layer is dense and position is not a main concern, then you can try the BestPlacement property. That property overrides this property and tries to fit the label in the best location so that the minimum number of labels are suppressed due to overlapping issues. | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PointPlacement|PointPlacement]] | ||
- | **canvas** | + | ** {{wiki:PublicProperty.gif|}} MaskType ** |
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | |
- | * **Description**:N/A | + | |
- | [[#Protected Methods|Go Back]] | ||
- | === sz8=(PolygonShape,GeoCanvas) === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.MaskType|MaskType]] | ||
- | **Return Value** | + | ** {{wiki:PublicProperty.gif|}} Name ** |
- | * **Return Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | + | |
- | * **Description**:N/A | + | |
- | ==== Parameters ==== | ||
- | **simplyPolygon** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.PolygonShape|PolygonShape]] | ||
- | * **Description**:N/A | ||
- | |||
- | **canvas** | ||
- | * **Type**:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Protected Methods|Go Back]] | ||
- | ===== Public Properties ===== | ||
- | === AbbreviationDictionary === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:Dictionary<String,String> | + | * Type:String |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:PublicProperty.gif|}} IsActive ** |
- | === AllowLineCarriage === | + | |
- | This property gets and sets whether the labeler will allow carriage returns to be inserted. | + | |
- | ==== Remarks ==== | + | |
- | This property enables the labeler to split long labels into multiple lines if need be. For instance, if you have a lake whose name is "Southern Homestead Lake," then the labeler may try and break the name onto multiple lines in order to better label the feature. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Boolean | + | |
- | [[#Public Properties|Go Back]] | ||
- | === BestPlacement === | ||
- | This property gets and sets whether the labeler will attempt to change the label position to avoid overlapping for point-based features. | ||
- | ==== Remarks ==== | ||
- | The positioning of point labels is mainly determined by the PointPlacement property. This allows you place the text to the right, top, bottom, etc. of the point. In some cases, placing the text in a certain place will cause many labels to be suppressed when the points are dense. This property allows you to override the PointPlacement property and allow the labeler to try other locations, if the default location would cause the label to be suppressed. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:Boolean | ||
- | |||
- | [[#Public Properties|Go Back]] | ||
- | === BestPlacementSymbolHeight === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:Single | + | * Type:Boolean |
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} RequiredColumnNames ** | ||
- | [[#Public Properties|Go Back]] | ||
- | === BestPlacementSymbolWidth === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:Single | + | * Type:Collection<String> |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:PublicProperty.gif|}} Filters ** |
- | === DuplicateRule === | + | |
- | This property gets and sets the rule that determines how duplicate labels are handled. | + | |
- | ==== Remarks ==== | + | |
- | There are three ways to handle duplicate label names. The first is to suppress all duplicates, which means if there are two street segments with the same name then only one will be drawn. The second way is to suppress duplicate labels only if they are in one quarter of the screen. In this way, the screen will be divided into four quadrants, and if the two duplicate labels are in different quadrants, then they will both draw. The last way is to draw all duplicates. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.LabelDuplicateRule|LabelDuplicateRule]] | + | |
- | [[#Public Properties|Go Back]] | ||
- | === Filters === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:Collection<String> | + | * Type:Collection<String> |
- | [[#Public Properties|Go Back]] | + | ==== Protected Properties ==== |
- | === FittingPolygon === | + | ** {{wiki:ProtectedProperty.gif|}} LabelPositions ** |
- | This property gets and sets whether the labeler will try to fit the label as best as it can within the boundary of a polygon. | + | |
- | ==== Remarks ==== | + | |
- | None | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Boolean | + | |
- | [[#Public Properties|Go Back]] | + | Gets a value represents a keyValuepair which is a feature id and label position of the feature |
- | === FittingPolygonFactor === | + | == Remarks == |
- | This property gets and sets the factor to which it will keep the label inside of the polygon. | + | |
- | ==== Remarks ==== | + | |
- | None | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Double | + | |
- | + | ||
- | [[#Public Properties|Go Back]] | + | |
- | === ForceLineCarriage === | + | |
- | This property gets and sets whether the labeler will force carriage returns to be inserted. | + | |
- | ==== Remarks ==== | + | |
- | This property forces the labeler to split long labels into multiple lines. For instance, if you have a lake whose name is "Southern Homestead Lake," then the labeler will break the name onto multiple lines in order to better label the feature. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Boolean | + | |
- | + | ||
- | [[#Public Properties|Go Back]] | + | |
- | === GridSize === | + | |
- | This property gets and sets the grid size used for deterministic labeling. | + | |
- | ==== Remarks ==== | + | |
- | The grid size determines how many labels will be considered as candidates for drawing. The smaller the grid size, the higher the density of candidates. Making the grid size too small may have a performance impact. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Int32 | + | |
- | + | ||
- | [[#Public Properties|Go Back]] | + | |
- | === IsActive === | + | |
N/A | N/A | ||
- | ==== Remarks ==== | + | == Return Value == |
- | N/A | + | * Type:Dictionary<String,[[ThinkGeo.MapSuite.Core.WorldLabelingCandidate|WorldLabelingCandidate]]> |
- | ==== Return Value ==== | + | |
- | **Return Type**:Boolean | + | |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} XOffsetInPixel ** |
- | === LabelAllLineParts === | + | |
- | This property gets and sets whether the labeler will label every part of a multi-part line. | + | |
- | ==== Remarks ==== | + | |
- | In some cases, you may want to label all of the parts of a multi-part line, while in other cases you may not. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Boolean | + | |
- | [[#Public Properties|Go Back]] | + | This property gets and sets the X pixel offset used for drawing each feature. |
- | === LabelAllPolygonParts === | + | == Remarks == |
- | This property gets and sets whether the labeler will label every part of a multi-part polygon. | + | This property allows you to specify an X offset. When combined with a Y offset, it is useful to allow you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to better align it with raster satellite data. |
- | ==== Remarks ==== | + | == Return Value == |
- | In some cases, you may want to label all of the parts of a multi-part polygon, while in other cases you may not. For example, you may have a series of lakes where you do want to label each polygon. In another case, you may have a country with many small islands and in this case you only want to label the largest polygon. | + | * Type:Single |
- | ==== Return Value ==== | + | |
- | **Return Type**:Boolean | + | |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} YOffsetInPixel ** |
- | === LeaderLineMinimumLengthInPixels === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Single | + | |
- | [[#Public Properties|Go Back]] | + | This property gets and sets the Y pixel offset used for drawing each feature. |
- | === LeaderLineRule === | + | == Remarks == |
- | N/A | + | This property allows you to specify a Y offset. When combined with an X offset, it is useful to allow you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to better align it with raster satellite data. |
- | ==== Remarks ==== | + | == Return Value == |
- | N/A | + | * Type:Single |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.LabelLeaderLinesRule|LabelLeaderLinesRule]] | + | |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} CustomTextStyles ** |
- | === LeaderLineStyle === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.LineStyle|LineStyle]] | + | |
- | [[#Public Properties|Go Back]] | + | This property returns a collection of area styles, allowing you to stack multiple area styles on top of each other. |
- | === MaskType === | + | == Remarks == |
- | N/A | + | Using this collection you can stack multiple area styles on top of each other. When we draw the feature we will draw them in order in the collection. You can use these stacks to create drop shadow effects along with multiple colored outlines etc. |
- | ==== Remarks ==== | + | == Return Value == |
- | N/A | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.TextStyle|TextStyle]]> |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.MaskType|MaskType]] | + | |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} RotationAngle ** |
- | === MaxNudgingInPixel === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Int32 | + | |
- | [[#Public Properties|Go Back]] | + | This property gets and sets the rotation angle of the item being positioned. |
- | === Name === | + | == Remarks == |
- | N/A | + | None |
- | ==== Remarks ==== | + | == Return Value == |
- | N/A | + | * Type:Double |
- | ==== Return Value ==== | + | |
- | **Return Type**:String | + | |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} FittingLineInScreen ** |
- | === NudgingIntervalInPixel === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Single | + | |
- | [[#Public Properties|Go Back]] | + | This property gets and sets whether the labeler will try to fit the label as best as it can on the visible part of a line on the screen. |
- | === OverlappingRule === | + | == Remarks == |
- | This property gets and sets the rule that determines how overlapping labels are handled. | + | A label will normally be displayed in the center of a line. If only a small piece of the line is visible on the screen, we cannot see it's label by default. If we set this property to ture though, the label will be displayed in the center of that piece in screen. |
- | ==== Remarks ==== | + | == Return Value == |
- | This defines the rules for label overlapping. Currently, either we allow overlapping or we do not. In the future, we may extend this to allow some percentage of partial overlapping. | + | * Type:Boolean |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.LabelOverlappingRule|LabelOverlappingRule]] | + | |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} FittingPolygonInScreen ** |
- | === PointPlacement === | + | |
- | This property gets and sets the location of the label for point features relative to the point. | + | |
- | ==== Remarks ==== | + | |
- | This property allows you to choose where the labels are created relative to the point. For example, you can set the property to RightCenter, which would ensure that all labels are placed to the right of and vertically centered with the point. Different kinds of point layers can be positioned differently. If the point layer is dense and position is not a main concern, then you can try the BestPlacement property. That property overrides this property and tries to fit the label in the best location so that the minimum number of labels are suppressed due to overlapping issues. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.PointPlacement|PointPlacement]] | + | |
- | [[#Public Properties|Go Back]] | + | This property gets and sets whether the labeler will try to fit the label as best as it can on the visible part of a polygon on the screen. |
- | === PolygonLabelingLocationMode === | + | == Remarks == |
- | This property gets and sets the mode that determines how to locate polygon's labeling | + | A label will normally be displayed in the center of a polygon. If only a small piece of the polygon is visible on the screen, we cannot see it's label by default. If we set this property to ture though, the label will be displayed in the center of that piece in screen. |
- | ==== Remarks ==== | + | == Return Value == |
- | There are two ways to handle polygon's labeling location. The first is to use polygon's centroid as the labeling location, the second way is to use polygon's boungdingbox center as the labeling location. | + | * Type:Boolean |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.PolygonLabelingLocationMode|PolygonLabelingLocationMode]] | + | |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} TextFormat ** |
- | === RequiredColumnNames === | + | |
- | N/A | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Collection<String> | + | |
- | [[#Public Properties|Go Back]] | + | This property gets and sets the format that will be applied to the text. |
- | === SuppressPartialLabels === | + | == Remarks == |
- | This property gets and sets whether a partial label in the current extent will be drawn or not. | + | With this property, you can apply formats to the text that is retrieved from the feature. |
- | ==== Remarks ==== | + | == Return Value == |
- | This property provides a solution to the "cut off" label issue in Map Suite Web Edition and Desktop Edition, which occurs when multiple tiles exist. When you set this property to true, any labels outside of the current extent will not be drawn. | + | * Type:String |
- | ==== Return Value ==== | + | |
- | **Return Type**:Boolean | + | |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} NumericFormat ** |
- | === TextLineSegmentRatio === | + | |
- | This property gets and sets the ratio required for the label length to match the line length. | + | |
- | ==== Remarks ==== | + | |
- | This allows you to suppress labels where the label length would greatly exceed the line length. For example, if you set the ratio to 1, then the label will be suppressed if it is longer than the line. If the ratio is lower, then the label would need to be shorter than the line. If higher, then the label is allowed to run past the length of the line. This allows you to control the look of things like road labeling. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Double | + | |
- | [[#Public Properties|Go Back]] | + | This property gets and sets the format that will be applied to the text which can be parsed to double type. |
- | ===== Protected Properties ===== | + | == Remarks == |
- | === Advanced === | + | With this property, you can apply formats to the text that is retrieved from the feature. |
- | This property gets the advanced properties of the class. | + | == Return Value == |
- | ==== Remarks ==== | + | * Type:String |
- | The advanced properties have been consolidated in the Advanced property. This way, the standard options are more easily visible and the advanced options are hidden away. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.TextStyleAdvanced|TextStyleAdvanced]] | + | |
- | [[#Protected Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} DateFormat ** |
- | === AllowSpline === | + | |
- | This property gets and sets whether line labels are allowed to spline around curved lines. | + | |
- | ==== Remarks ==== | + | |
- | This property will allow the labeler to spline the label around curved lines. This is useful for curved streets that need to be labeled. This can have a considerable performance impact, so we suggest you experiment with it to ensure it can meet your needs. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Boolean | + | |
- | [[#Protected Properties|Go Back]] | ||
- | === CustomTextStyles === | ||
- | This property returns a collection of area styles, allowing you to stack multiple area styles on top of each other. | ||
- | ==== Remarks ==== | ||
- | Using this collection you can stack multiple area styles on top of each other. When we draw the feature we will draw them in order in the collection. You can use these stacks to create drop shadow effects along with multiple colored outlines etc. | ||
- | ==== Return Value ==== | ||
- | **Return Type**:Collection<[[ThinkGeo.MapSuite.Core.TextStyle|TextStyle]]> | ||
- | |||
- | [[#Protected Properties|Go Back]] | ||
- | === DateFormat === | ||
This property gets and sets the format that will be applied to the text which can be parsed to DateTime type. | This property gets and sets the format that will be applied to the text which can be parsed to DateTime type. | ||
- | ==== Remarks ==== | + | == Remarks == |
With this property, you can apply formats to the text that is retrieved from the feature. | With this property, you can apply formats to the text that is retrieved from the feature. | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:String | + | * Type:String |
- | [[#Protected Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} TextSolidBrush ** |
- | === DrawingLevel === | + | |
- | Gets or sets the DrawingLavel for this style. | + | |
- | ==== Remarks ==== | + | |
- | N/A | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] | + | |
- | [[#Protected Properties|Go Back]] | + | This property gets and sets the SolidBrush that will be used to draw the text. |
- | === FiltersCore === | + | == Remarks == |
- | N/A | + | You can use this property to draw a solid color; however, if you need to use other brushes, you can access them through the Advanced property of this class. |
- | ==== Remarks ==== | + | == Return Value == |
- | N/A | + | * Type:[[ThinkGeo.MapSuite.Core.GeoSolidBrush|GeoSolidBrush]] |
- | ==== Return Value ==== | + | |
- | **Return Type**:Collection<String> | + | |
- | [[#Protected Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} Font ** |
- | === FittingLineInScreen === | + | |
- | This property gets and sets whether the labeler will try to fit the label as best as it can on the visible part of a line on the screen. | + | |
- | ==== Remarks ==== | + | |
- | A label will normally be displayed in the center of a line. If only a small piece of the line is visible on the screen, we cannot see it's label by default. If we set this property to ture though, the label will be displayed in the center of that piece in screen. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Boolean | + | |
- | + | ||
- | [[#Protected Properties|Go Back]] | + | |
- | === FittingPolygonInScreen === | + | |
- | This property gets and sets whether the labeler will try to fit the label as best as it can on the visible part of a polygon on the screen. | + | |
- | ==== Remarks ==== | + | |
- | A label will normally be displayed in the center of a polygon. If only a small piece of the polygon is visible on the screen, we cannot see it's label by default. If we set this property to ture though, the label will be displayed in the center of that piece in screen. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Boolean | + | |
- | [[#Protected Properties|Go Back]] | ||
- | === Font === | ||
This property gets and sets the font that will be used to draw the text. | This property gets and sets the font that will be used to draw the text. | ||
- | ==== Remarks ==== | + | == Remarks == |
None | None | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoFont|GeoFont]] |
- | [[#Protected Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} HaloPen ** |
- | === ForceHorizontalLabelForLine === | + | |
- | This property gets and sets whether we should force horizontal labeling for lines. | + | |
- | ==== Remarks ==== | + | |
- | Normally, lines are labeled in the direction of the line. There may be some cases, however, when you want to have the line labeled horizontally regardless of the line's direction. In such a case, you can set this property to force the lines to be labeled horizontally. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Boolean | + | |
- | [[#Protected Properties|Go Back]] | ||
- | === HaloPen === | ||
This property gets and sets the halo pen you may use to draw a halo around the text. | This property gets and sets the halo pen you may use to draw a halo around the text. | ||
- | ==== Remarks ==== | + | == Remarks == |
The halo pen allows you to draw a halo effect around the text, making it stand out more on a busy background. | The halo pen allows you to draw a halo effect around the text, making it stand out more on a busy background. | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoPen|GeoPen]] |
- | [[#Protected Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} TextColumnName ** |
- | === LabelPositions === | + | |
- | Gets a value represents a keyValuepair which is a feature id and label position of the feature | + | This property gets and sets the column name in the data that you want to get the text from. |
- | ==== Remarks ==== | + | == Remarks == |
- | N/A | + | This property is used when retrieving text from a feature. You will want to specify the name of the column that contains the text you want to draw. |
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:Dictionary<String,[[ThinkGeo.MapSuite.Core.WorldLabelingCandidate|WorldLabelingCandidate]]> | + | * Type:String |
+ | |||
+ | ** {{wiki:ProtectedProperty.gif|}} Mask ** | ||
- | [[#Protected Properties|Go Back]] | ||
- | === Mask === | ||
This property gets and sets the AreaStyle used to draw a mask behind the text. | This property gets and sets the AreaStyle used to draw a mask behind the text. | ||
- | ==== Remarks ==== | + | == Remarks == |
A mask is a plate behind the text that is rectangular and slightly larger than the width and height of the text. It allows the label to stand out well on a busy background. You can also try the HaloPen property instead of the mask, if the mask effect is too pronounced. | A mask is a plate behind the text that is rectangular and slightly larger than the width and height of the text. It allows the label to stand out well on a busy background. You can also try the HaloPen property instead of the mask, if the mask effect is too pronounced. | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.AreaStyle|AreaStyle]] | + | * Type:[[ThinkGeo.MapSuite.Core.AreaStyle|AreaStyle]] |
+ | |||
+ | ** {{wiki:ProtectedProperty.gif|}} MaskMargin ** | ||
- | [[#Protected Properties|Go Back]] | ||
- | === MaskMargin === | ||
This property gets and sets the margin around the text that will be used for the mask. | This property gets and sets the margin around the text that will be used for the mask. | ||
- | ==== Remarks ==== | + | == Remarks == |
This determines how much larger the mask is than the text, in pixels. | This determines how much larger the mask is than the text, in pixels. | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:Int32 | + | * Type:Int32 |
- | [[#Protected Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} Advanced ** |
- | === NumericFormat === | + | |
- | This property gets and sets the format that will be applied to the text which can be parsed to double type. | + | |
- | ==== Remarks ==== | + | |
- | With this property, you can apply formats to the text that is retrieved from the feature. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:String | + | |
- | [[#Protected Properties|Go Back]] | + | This property gets the advanced properties of the class. |
- | === RotationAngle === | + | == Remarks == |
- | This property gets and sets the rotation angle of the item being positioned. | + | The advanced properties have been consolidated in the Advanced property. This way, the standard options are more easily visible and the advanced options are hidden away. |
- | ==== Remarks ==== | + | == Return Value == |
- | None | + | * Type:[[ThinkGeo.MapSuite.Core.TextStyleAdvanced|TextStyleAdvanced]] |
- | ==== Return Value ==== | + | |
- | **Return Type**:Double | + | ** {{wiki:ProtectedProperty.gif|}} AllowSpline ** |
+ | |||
+ | This property gets and sets whether line labels are allowed to spline around curved lines. | ||
+ | == Remarks == | ||
+ | This property will allow the labeler to spline the label around curved lines. This is useful for curved streets that need to be labeled. This can have a considerable performance impact, so we suggest you experiment with it to ensure it can meet your needs. | ||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ** {{wiki:ProtectedProperty.gif|}} ForceHorizontalLabelForLine ** | ||
+ | |||
+ | This property gets and sets whether we should force horizontal labeling for lines. | ||
+ | == Remarks == | ||
+ | Normally, lines are labeled in the direction of the line. There may be some cases, however, when you want to have the line labeled horizontally regardless of the line's direction. In such a case, you can set this property to force the lines to be labeled horizontally. | ||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ** {{wiki:ProtectedProperty.gif|}} SplineType ** | ||
- | [[#Protected Properties|Go Back]] | ||
- | === SplineType === | ||
Gets or sets the SplineType for labeling. | Gets or sets the SplineType for labeling. | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.SplineType|SplineType]] | + | * Type:[[ThinkGeo.MapSuite.Core.SplineType|SplineType]] |
- | [[#Protected Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} DrawingLevel ** |
- | === TextColumnName === | + | |
- | This property gets and sets the column name in the data that you want to get the text from. | + | |
- | ==== Remarks ==== | + | |
- | This property is used when retrieving text from a feature. You will want to specify the name of the column that contains the text you want to draw. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:String | + | |
- | [[#Protected Properties|Go Back]] | + | Gets or sets the DrawingLavel for this style. |
- | === TextFormat === | + | == Remarks == |
- | This property gets and sets the format that will be applied to the text. | + | N/A |
- | ==== Remarks ==== | + | == Return Value == |
- | With this property, you can apply formats to the text that is retrieved from the feature. | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]] |
- | ==== Return Value ==== | + | |
- | **Return Type**:String | + | |
- | [[#Protected Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} IsDefault ** |
- | === TextSolidBrush === | + | |
- | This property gets and sets the SolidBrush that will be used to draw the text. | + | |
- | ==== Remarks ==== | + | |
- | You can use this property to draw a solid color; however, if you need to use other brushes, you can access them through the Advanced property of this class. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:[[ThinkGeo.MapSuite.Core.GeoSolidBrush|GeoSolidBrush]] | + | |
- | [[#Protected Properties|Go Back]] | + | N/A |
- | === XOffsetInPixel === | + | == Remarks == |
- | This property gets and sets the X pixel offset used for drawing each feature. | + | N/A |
- | ==== Remarks ==== | + | == Return Value == |
- | This property allows you to specify an X offset. When combined with a Y offset, it is useful to allow you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to better align it with raster satellite data. | + | * Type:Boolean |
- | ==== Return Value ==== | + | |
- | **Return Type**:Single | + | |
- | [[#Protected Properties|Go Back]] | + | ** {{wiki:ProtectedProperty.gif|}} FiltersCore ** |
- | === YOffsetInPixel === | + | |
- | This property gets and sets the Y pixel offset used for drawing each feature. | + | |
- | ==== Remarks ==== | + | |
- | This property allows you to specify a Y offset. When combined with an X offset, it is useful to allow you to achieve effects such as drop shadows, etc. There also may be times when you need to modify the location of feature data so as to better align it with raster satellite data. | + | |
- | ==== Return Value ==== | + | |
- | **Return Type**:Single | + | |
- | [[#Protected Properties|Go Back]] | ||
- | === uBs= === | ||
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | ==== Return Value ==== | + | == Return Value == |
- | **Return Type**:Boolean | + | * Type:Collection<String> |
- | [[#Protected Properties|Go Back]] | + | ==== Public Events ==== |
- | ===== Public Events ===== | + | ** {{wiki:PublicEvent.gif|}} Formatting ** |
- | === Formatted === | + | |
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | **Event Arguments**:[[ThinkGeo.MapSuite.Core.FormattedPositionStyleEventArgs|FormattedPositionStyleEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.FormattingPositionStyleEventArgs|FormattingPositionStyleEventArgs]] |
- | [[#Public Events|Go Back]] | + | ** {{wiki:PublicEvent.gif|}} Formatted ** |
- | === Formatting === | + | |
N/A | N/A | ||
- | ==== Remarks ==== | + | == Remarks == |
N/A | N/A | ||
- | **Event Arguments**:[[ThinkGeo.MapSuite.Core.FormattingPositionStyleEventArgs|FormattingPositionStyleEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.FormattedPositionStyleEventArgs|FormattedPositionStyleEventArgs]] |
- | [[#Public Events|Go Back]] | ||