Table of Contents

Class SimpleCandidate

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

This class stores simple label information used in the PositionStyle.

public class SimpleCandidate
Inheritance
SimpleCandidate
Inherited Members

Remarks

This class is used in the PositionStyle for storing simple label infromation. It has a limited scope.

Constructors

SimpleCandidate()

This is a constructor for the class.

public SimpleCandidate()

Remarks

If you use this constructor, then you need to manually set the properties necessary for this class.

SimpleCandidate(string, PolygonShape)

This is a constructor for the class.

public SimpleCandidate(string originalText, PolygonShape simplePolygonInScreenCoordinate)

Parameters

originalText string

This parameter is the text for the label.

simplePolygonInScreenCoordinate PolygonShape

This parameter is a polygon in screen coordinates that represents the area of the label.

Remarks

None

Properties

OriginalText

This property gets and sets the text for the label.

public string OriginalText { get; set; }

Property Value

string

This property gets the text for the label.

Remarks

None

SimplePolygonInScreenCoordinate

This property gets and sets the polygon in screen coordinates that represents the area of the label.

public PolygonShape SimplePolygonInScreenCoordinate { get; set; }

Property Value

PolygonShape

This property gets the polygon in screen coordinates that represents the area of the label.

Remarks

None