User Tools

Site Tools


thinkgeo.mapsuite.core.positionstyle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
thinkgeo.mapsuite.core.positionstyle [2015/09/21 01:08]
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 12: Line 15:
 ** {{wiki:​ProtectedMethod.gif|}} PositionStyle() ** ** {{wiki:​ProtectedMethod.gif|}} PositionStyle() **
  
-This is the default constructor for the class.+  * //This is the default constructor for the class.//
 == Remarks == == Remarks ==
-None+  * //None//
 == Parameters == == Parameters ==
 <div newline></​div>​ <div newline></​div>​
Line 20: Line 23:
 ** {{wiki:​PublicMethod.gif|}} CloneDeep() ** ** {{wiki:​PublicMethod.gif|}} CloneDeep() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 32: Line 35:
 ** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<​Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<​Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 60: Line 63:
 ** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<​BaseShape>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​PublicMethod.gif|}} Draw(IEnumerable<​BaseShape>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 88: Line 91:
 ** {{wiki:​PublicMethod.gif|}} GetRequiredColumnNames() ** ** {{wiki:​PublicMethod.gif|}} GetRequiredColumnNames() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 100: Line 103:
 ** {{wiki:​PublicMethod.gif|}} DrawSample(GeoCanvas,​DrawingRectangleF) ** ** {{wiki:​PublicMethod.gif|}} DrawSample(GeoCanvas,​DrawingRectangleF) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 120: Line 123:
 ** {{wiki:​PublicMethod.gif|}} DrawSample(GeoCanvas) ** ** {{wiki:​PublicMethod.gif|}} DrawSample(GeoCanvas) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 134: Line 137:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​PublicMethod.gif|}} ​ToString() **+** {{wiki:​PublicMethod.gif|}} ​SaveStyle(String) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
-  * Type:String+  * Type:Void
   * Description:​N/​A   * Description:​N/​A
  
 == Parameters == == Parameters ==
-<div newline></​div>​ +  ​* //filePathName// 
-** {{wiki:​PublicMethod.gif|}} Equals(Object) ** +    * Type:String
- +
-N/A +
-== Remarks == +
-N/A +
- +
-== Return Value == +
-  * Type:​Boolean +
-  * Description:​N/​A +
- +
-== Parameters == +
-  ​* //obj// +
-    * Type:Object+
     * Description:​N/​A     * Description:​N/​A
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​PublicMethod.gif|}} ​GetHashCode() **+** {{wiki:​PublicMethod.gif|}} ​SaveStyle(Stream) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
-  * Type:Int32+  * Type:Void
   * Description:​N/​A   * Description:​N/​A
  
 == Parameters == == Parameters ==
-<div newline></​div>​ +  ​* //stream// 
-** {{wiki:​PublicMethod.gif|}} GetType() ** +    * Type:Stream
- +
-N/A +
-== Remarks == +
-N/A +
- +
-== Return Value == +
-  * Type:Type +
-  * Description:​N/​A +
- +
-== Parameters == +
-<div newline></​div>​ +
-==== Protected Methods ==== +
-** {{wiki:​ProtectedMethod.gif|}} hHM=(PolygonShape,​String,​GeoCanvas) ** +
- +
-N/A +
-== Remarks == +
-N/A +
- +
-== Return Value == +
-  * Type:​[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]] +
-  * Description:​N/​A +
- +
-== Parameters == +
-  * //hXM=// +
-    * Type:​[[ThinkGeo.MapSuite.Core.PolygonShape|PolygonShape]] +
-    * Description:​N/​A +
- +
-  * //hnM=// +
-    * Type:​String +
-    * Description:​N/​A +
- +
-  ​* //h3M=// +
-    * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]+
     * Description:​N/​A     * Description:​N/​A
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:ProtectedMethod.gif|}} ​Format(String,​BaseShape) **+** {{wiki:PublicMethod.gif|}} ​ToString() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 222: Line 180:
  
 == Parameters == == Parameters ==
-  * //text// 
-    * Type:String 
-    * Description:​N/​A 
- 
-  * //​labeledShape//​ 
-    * Type:​[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] 
-    * Description:​N/​A 
- 
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:ProtectedMethod.gif|}} ​FormatCore(String,​BaseShape) **+** {{wiki:PublicMethod.gif|}} ​Equals(Object) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
-  * Type:String+  * Type:Boolean
   * Description:​N/​A   * Description:​N/​A
  
 == Parameters == == Parameters ==
-  * //text// +  * //obj// 
-    * Type:String +    * Type:Object
-    * Description:​N/​A +
- +
-  * //​labeledShape//​ +
-    * Type:​[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]+
     * Description:​N/​A     * Description:​N/​A
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:ProtectedMethod.gif|}} ​OnFormatting(FormattingPositionStyleEventArgs) **+** {{wiki:PublicMethod.gif|}} ​GetHashCode() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
-  * Type:Void+  * Type:Int32
   * Description:​N/​A   * Description:​N/​A
  
 == Parameters == == Parameters ==
-  * //e// 
-    * Type:​[[ThinkGeo.MapSuite.Core.FormattingPositionStyleEventArgs|FormattingPositionStyleEventArgs]] 
-    * Description:​N/​A 
- 
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:ProtectedMethod.gif|}} ​OnFormatted(FormattedPositionStyleEventArgs) **+** {{wiki:PublicMethod.gif|}} ​GetType() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
-  * Type:Void+  * Type:Type
   * Description:​N/​A   * Description:​N/​A
  
 == Parameters == == Parameters ==
-  * //e// 
-    * Type:​[[ThinkGeo.MapSuite.Core.FormattedPositionStyleEventArgs|FormattedPositionStyleEventArgs]] 
-    * Description:​N/​A 
- 
 <div newline></​div>​ <div newline></​div>​
 +==== Protected Methods ====
 ** {{wiki:​ProtectedMethod.gif|}} DrawCore(IEnumerable<​Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} DrawCore(IEnumerable<​Feature>,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-This method draws the features on the canvas you provided.+  * //This method draws the features on the canvas you provided.//
 == Remarks == == 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.+  * //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 == == Return Value ==
Line 313: Line 252:
 ** {{wiki:​ProtectedMethod.gif|}} GetRequiredColumnNamesCore() ** ** {{wiki:​ProtectedMethod.gif|}} GetRequiredColumnNamesCore() **
  
-This method returns the column data for each feature that is required for the style to properly draw.+  * //This method returns the column data for each feature that is required for the style to properly draw.//
 == Remarks == == Remarks ==
-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.+  * //This abstract method is called from the concrete public method GetRequiredFieldNames. In this method, we return the column names that are required for the style to draw the feature properly. For example, if you have a style that colors areas blue when a certain column value is over 100, then you need to be sure you include that column name. This will ensure that the column data is returned to you in the feature when it is ready to draw. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore,​ we read that property and add it to the collection.//
  
 == Return Value == == Return Value ==
Line 325: Line 264:
 ** {{wiki:​ProtectedMethod.gif|}} FilterFeatures(IEnumerable<​Feature>,​GeoCanvas) ** ** {{wiki:​ProtectedMethod.gif|}} FilterFeatures(IEnumerable<​Feature>,​GeoCanvas) **
  
-This method filters the features based on the grid size to facilitate deterministic labeling.+  * //This method filters the features based on the grid size to facilitate deterministic labeling.//
 == Remarks == == Remarks ==
-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.+  * //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.//
  
 == Return Value == == Return Value ==
Line 345: Line 284:
 ** {{wiki:​ProtectedMethod.gif|}} FilterFeaturesCore(IEnumerable<​Feature>,​GeoCanvas) ** ** {{wiki:​ProtectedMethod.gif|}} FilterFeaturesCore(IEnumerable<​Feature>,​GeoCanvas) **
  
-This method filters the features based on the grid size to facilitate deterministic labeling.+  * //This method filters the features based on the grid size to facilitate deterministic labeling.//
 == Remarks == == Remarks ==
-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.+  * //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.//
  
 == Return Value == == Return Value ==
Line 361: Line 300:
     * Type:​[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]     * Type:​[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]
     * Description:​This parameter is the canvas that will be used for calculating font sizes.     * Description:​This parameter is the canvas that will be used for calculating font sizes.
 +
 +<div newline></​div>​
 +** {{wiki:​ProtectedMethod.gif|}} AbbreviateText(Feature,​GeoCanvas) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:Void
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //feature//
 +    * Type:​[[ThinkGeo.MapSuite.Core.Feature|Feature]]
 +    * Description:​N/​A
 +
 +  * //canvas//
 +    * Type:​[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +** {{wiki:​ProtectedMethod.gif|}} AbbreviateTextCore(Feature,​GeoCanvas) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:Void
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //feature//
 +    * Type:​[[ThinkGeo.MapSuite.Core.Feature|Feature]]
 +    * Description:​N/​A
 +
 +  * //canvas//
 +    * Type:​[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]
 +    * Description:​N/​A
  
 <div newline></​div>​ <div newline></​div>​
 ** {{wiki:​ProtectedMethod.gif|}} GetLabelingCandidates(Feature,​GeoCanvas) ** ** {{wiki:​ProtectedMethod.gif|}} GetLabelingCandidates(Feature,​GeoCanvas) **
  
-This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set.+  * //This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set.//
 == Remarks == == Remarks ==
-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.+  * //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.//
  
 == Return Value == == Return Value ==
Line 385: Line 364:
 ** {{wiki:​ProtectedMethod.gif|}} GetLabelingCandidateCore(Feature,​GeoCanvas) ** ** {{wiki:​ProtectedMethod.gif|}} GetLabelingCandidateCore(Feature,​GeoCanvas) **
  
-This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set.+  * //This method determines whether the specified feature is a good candidate to be labeled, based on the labeling properties set.//
 == Remarks == == Remarks ==
-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.+  * //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.//
  
 == Return Value == == Return Value ==
Line 405: Line 384:
 ** {{wiki:​ProtectedMethod.gif|}} CheckDuplicate(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} CheckDuplicate(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-This method will determine whether the label will be suppressed because it is a duplicate.+  * //This method will determine whether the label will be suppressed because it is a duplicate.//
 == Remarks == == 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.+  * //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 == == Return Value ==
Line 433: Line 412:
 ** {{wiki:​ProtectedMethod.gif|}} CheckDuplicateCore(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} CheckDuplicateCore(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-This method will determine if the label will be suppressed because it is a duplicate.+  * //This method will determine if the label will be suppressed because it is a duplicate.//
 == Remarks == == 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.+  * //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 ==
Line 461: Line 440:
 ** {{wiki:​ProtectedMethod.gif|}} CheckOverlapping(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} CheckOverlapping(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-This method will determine if the label will be suppressed because of overlapping.+  * //This method will determine if the label will be suppressed because of overlapping.//
 == Remarks == == 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.+  * //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 == == Return Value ==
Line 489: Line 468:
 ** {{wiki:​ProtectedMethod.gif|}} CheckOverlappingCore(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} CheckOverlappingCore(LabelingCandidate,​GeoCanvas,​Collection<​SimpleCandidate>,​Collection<​SimpleCandidate>​) **
  
-This method will determine whether the label will be suppressed because of overlapping.+  * //This method will determine whether the label will be suppressed because of overlapping.//
 == Remarks == == 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.+  * //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 ==
Line 513: Line 492:
     * Type:​Collection<​[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>​     * Type:​Collection<​[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]>​
     * Description:​The labels will be drawn in all layers.     * Description:​The labels will be drawn in all layers.
 +
 +<div newline></​div>​
 +** {{wiki:​ProtectedMethod.gif|}} GetLabelingCandidateForOnePolygon(PolygonShape,​String,​GeoCanvas) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:​[[ThinkGeo.MapSuite.Core.LabelingCandidate|LabelingCandidate]]
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //polygon//
 +    * Type:​[[ThinkGeo.MapSuite.Core.PolygonShape|PolygonShape]]
 +    * Description:​N/​A
 +
 +  * //text//
 +    * Type:String
 +    * Description:​N/​A
 +
 +  * //canvas//
 +    * Type:​[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +** {{wiki:​ProtectedMethod.gif|}} Format(String,​BaseShape) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:String
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //text//
 +    * Type:String
 +    * Description:​N/​A
 +
 +  * //​labeledShape//​
 +    * Type:​[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +** {{wiki:​ProtectedMethod.gif|}} FormatCore(String,​BaseShape) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:String
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //text//
 +    * Type:String
 +    * Description:​N/​A
 +
 +  * //​labeledShape//​
 +    * Type:​[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +** {{wiki:​ProtectedMethod.gif|}} OnFormatting(FormattingPositionStyleEventArgs) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:Void
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //e//
 +    * Type:​[[ThinkGeo.MapSuite.Core.FormattingPositionStyleEventArgs|FormattingPositionStyleEventArgs]]
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +** {{wiki:​ProtectedMethod.gif|}} OnFormatted(FormattedPositionStyleEventArgs) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:Void
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //e//
 +    * Type:​[[ThinkGeo.MapSuite.Core.FormattedPositionStyleEventArgs|FormattedPositionStyleEventArgs]]
 +    * Description:​N/​A
  
 <div newline></​div>​ <div newline></​div>​
 ** {{wiki:​ProtectedMethod.gif|}} CloneDeepCore() ** ** {{wiki:​ProtectedMethod.gif|}} CloneDeepCore() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 529: Line 604:
 ** {{wiki:​ProtectedMethod.gif|}} DrawSampleCore(GeoCanvas,​DrawingRectangleF) ** ** {{wiki:​ProtectedMethod.gif|}} DrawSampleCore(GeoCanvas,​DrawingRectangleF) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 549: Line 624:
 ** {{wiki:​ProtectedMethod.gif|}} Finalize() ** ** {{wiki:​ProtectedMethod.gif|}} Finalize() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 561: Line 636:
 ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 573: Line 648:
 ** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ConvertToScreenShape(Feature,​GeoCanvas) ** ** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ConvertToScreenShape(Feature,​GeoCanvas) **
  
-This method converts a feature in world coordinates to screen coordinates.+  * //This method converts a feature in world coordinates to screen coordinates.//
 == Remarks == == 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.+  * //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 == == Return Value ==
Line 591: Line 666:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​/nM=(PolygonShape,​GeoCanvas) **+** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​ConvertToWorldCoordinate(PolygonShape,​GeoCanvas) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 602: Line 677:
  
 == Parameters == == Parameters ==
-  * ///3M=//+  * //simplyPolygon//
     * Type:​[[ThinkGeo.MapSuite.Core.PolygonShape|PolygonShape]]     * Type:​[[ThinkGeo.MapSuite.Core.PolygonShape|PolygonShape]]
     * Description:​N/​A     * Description:​N/​A
  
-  * //AHQ=//+  * //canvas//
     * Type:​[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]     * Type:​[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]
     * Description:​N/​A     * Description:​N/​A
Line 619: Line 694:
 == Return Value == == Return Value ==
   * Type:​[[ThinkGeo.MapSuite.Core.PolygonLabelingLocationMode|PolygonLabelingLocationMode]]   * Type:​[[ThinkGeo.MapSuite.Core.PolygonLabelingLocationMode|PolygonLabelingLocationMode]]
 +
 +** {{wiki:​PublicProperty.gif|}} MaxNudgingInPixel **
 +
 +N/A
 +== Remarks ==
 +N/A
 +== Return Value ==
 +  * Type:Int32
 +
 +** {{wiki:​PublicProperty.gif|}} NudgingIntervalInPixel **
 +
 +N/A
 +== Remarks ==
 +N/A
 +== Return Value ==
 +  * Type:Single
 +
 +** {{wiki:​PublicProperty.gif|}} BestPlacementSymbolWidth **
 +
 +N/A
 +== Remarks ==
 +N/A
 +== Return Value ==
 +  * Type:Single
 +
 +** {{wiki:​PublicProperty.gif|}} BestPlacementSymbolHeight **
 +
 +N/A
 +== Remarks ==
 +N/A
 +== Return Value ==
 +  * Type:Single
 +
 +** {{wiki:​PublicProperty.gif|}} AbbreviationDictionary **
 +
 +N/A
 +== Remarks ==
 +N/A
 +== Return Value ==
 +  * Type:​Dictionary<​String,​String>​
 +
 +** {{wiki:​PublicProperty.gif|}} LeaderLineStyle **
 +
 +N/A
 +== Remarks ==
 +N/A
 +== Return Value ==
 +  * Type:​[[ThinkGeo.MapSuite.Core.LineStyle|LineStyle]]
 +
 +** {{wiki:​PublicProperty.gif|}} LeaderLineRule **
 +
 +N/A
 +== Remarks ==
 +N/A
 +== Return Value ==
 +  * Type:​[[ThinkGeo.MapSuite.Core.LabelLeaderLinesRule|LabelLeaderLinesRule]]
 +
 +** {{wiki:​PublicProperty.gif|}} LeaderLineMinimumLengthInPixels **
 +
 +N/A
 +== Remarks ==
 +N/A
 +== Return Value ==
 +  * Type:Single
  
 ** {{wiki:​PublicProperty.gif|}} GridSize ** ** {{wiki:​PublicProperty.gif|}} GridSize **
Line 933: Line 1072:
   * Type:​[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]   * Type:​[[ThinkGeo.MapSuite.Core.DrawingLevel|DrawingLevel]]
  
-** {{wiki:​ProtectedProperty.gif|}} ​e2U= **+** {{wiki:​ProtectedProperty.gif|}} ​IsDefault ​**
  
 N/A N/A
thinkgeo.mapsuite.core.positionstyle.1442797733.txt.gz · Last modified: 2015/09/21 01:08 by admin