ThinkGeo.MapSuite.WindowsPhoneCore.LabelingCandidate
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
<!– Class –>
This class represents a candidate for labeling.
This class is used in the internals of the labeling system. We keep track of every potential label in this class as it goes through the labeling rules.
Inheritance Hierarchy
Members Summary
Public Constructors
Protected Constructors
Name | Parameters | DeclaringType | Summary |
Public Methods
Protected Methods
Public Properties
Protected Properties
Name | Return | DeclaringType | Summary |
Public Events
Name | Event Arguments | DeclaringType | Summary |
Public Constructors
LabelingCandidate()
This is a constructor for the class.
Overloads
This is the default constructor.
If you use this constructor, then you should set the applicable properties manually.
Parameters
LabelingCandidate(String, PolygonShape, PointShape)
This is a constructor for the class.
Overloads
This constructor allows you to pass in the area of the label as well as the center point.
Parameters
Name | Type | Description |
originalText | String<!– System.String –> | This parameter represents the text of the label before it is potentially modified. |
simplePolygonInScreenCoordinates | PolygonShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PolygonShape –> | This parameter is a polygon (in screen coordinates) representing the area to be labeled. |
centerPointInScreenCoordinates | PointShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointShape –> | This parameter is the center of the polygon (in screen coordinates) representing the area to be labeled. |
Go Back
This is a constructor for the class.
Overloads
This constructor allows you to pass in the area of the label and the center point.
Parameters
Name | Type | Description |
originalText | String<!– System.String –> | This parameter represents the text of the label before it is potentially modified. |
simplePolygonInScreenCoordinates | PolygonShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PolygonShape –> | This parameter is a polygon (in screen coordinates) representing the area to be labeled. |
centerPointInScreenCoordinates | PointShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointShape –> | This parameter is the center of the polygon (in screen coordinates) representing the area to be labeled. |
labelInformation | Collection<LabelInformation><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WindowsPhoneCore.LabelInformation} –> | This parameter is the labeling information for this labeling candidate. |
Go Back
Protected Constructors
Public Methods
Equals(Object)
Return Value
Return Type | Description |
Boolean<!– System.Boolean –> | |
Parameters
Name | Type | Description |
obj | Object<!– System.Object –> | |
<!– System.Object –>
Go Back
GetHashCode()
Return Value
Return Type | Description |
Int32<!– System.Int32 –> | |
Parameters
GetType()
Return Value
Return Type | Description |
Type<!– System.Type –> | |
Parameters
ToString()
Return Value
Return Type | Description |
String<!– System.String –> | |
Parameters
Protected Methods
Finalize()
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
MemberwiseClone()
Return Value
Return Type | Description |
Object<!– System.Object –> | |
Parameters
Public Properties
CenterPoint
This property gets and sets the center point for the center of the label.
Return Value
Return Type |
PointShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointShape –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.LabelingCandidate –>
Go Back
This property gets and sets the label information for this label.
Return Value
Return Type |
Collection<LabelInformation><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WindowsPhoneCore.LabelInformation} –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.LabelingCandidate –>
Go Back
OriginalText
This property gets and sets the original text for the label.
Return Value
Return Type |
String<!– System.String –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.LabelingCandidate –>
Go Back
ScreenArea
This property gets and sets the screen area that encompasses the label.
Return Value
Return Type |
PolygonShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PolygonShape –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.LabelingCandidate –>
Go Back
Protected Properties
Public Events