User Tools

Site Tools


thinkgeo.mapsuite.windowsphonecore.labelingcandidate

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.

Remarks

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

Name Parameters DeclaringType Summary
Public MethodLabelingCandidate This is a constructor for the class.
Public MethodLabelingCandidate String, PolygonShape, PointShape This is a constructor for the class.
Public MethodLabelingCandidate String, PolygonShape, PointShape, Collection<LabelInformation> This is a constructor for the class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyCenterPoint PointShape This property gets and sets the center point for the center of the label.
Public PropertyLabelInformation Collection<LabelInformation> This property gets and sets the label information for this label.
Public PropertyOriginalText String This property gets and sets the original text for the label.
Public PropertyScreenArea PolygonShape This property gets and sets the screen area that encompasses the label.

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.

Remarks

If you use this constructor, then you should set the applicable properties manually.

Parameters

Name Type Description

Go Back

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

LabelingCandidate(String, PolygonShape, PointShape, Collection<LabelInformation>)

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

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

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

LabelInformation

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

thinkgeo.mapsuite.windowsphonecore.labelingcandidate.txt · Last modified: 2017/03/16 21:59 (external edit)