User Tools

Site Tools


thinkgeo.mapsuite.windowsphonecore.worldlabelingcandidate

ThinkGeo.MapSuite.WindowsPhoneCore.WorldLabelingCandidate

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 with world center point information for labeling.

Remarks

This class is used in 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 MethodWorldLabelingCandidate This is a default constructor for the class.
Public MethodWorldLabelingCandidate String This is a constructor for the class.
Public MethodWorldLabelingCandidate String, PointShape 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 LabelingCandidate This property gets and sets the center point for the center of the label.
Public PropertyCenterPointInWorldCoordinates PointShape This property gets or sets the Center Point position in world Coordinate system.
Public PropertyLabelInformation Collection<LabelInformation> LabelingCandidate This property gets and sets the label information for this label.
Public PropertyOriginalText String LabelingCandidate This property gets and sets the original text for the label.
Public PropertyScreenArea PolygonShape LabelingCandidate 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

WorldLabelingCandidate()

This is a default constructor for the class.

Remarks

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

Parameters

Name Type Description

Go Back

WorldLabelingCandidate(String)

This is a constructor for the class.

Overloads

This constructor allows you to pass in the text of the label.

Parameters

Name Type Description
originalText String<!– System.String –> This parameter represents the text of the label before it is potentially modified.

Go Back

WorldLabelingCandidate(String, PointShape)

This is a constructor for the class.

Overloads

This constructor allows you to pass in the text of the label as well as the world center point.

Parameters

Name Type Description
originalText String<!– System.String –> This parameter represents the text of the label before it is potentially modified.
centerPointInWorldCoordinates PointShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointShape –> This parameter is the center of the polygon (in world coordinates) representing the area to be labeled.

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

CenterPointInWorldCoordinates

This property gets or sets the Center Point position in world Coordinate system.

Return Value

Return Type
PointShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointShape –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.WorldLabelingCandidate –> 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.worldlabelingcandidate.txt · Last modified: 2017/03/16 21:59 (external edit)