Skip to content

SimpleCandidate

Namespace: ThinkGeo.Core

This class stores simple label information used in the PositionStyle.

public class SimpleCandidate

Inheritance ObjectSimpleCandidate

Remarks:

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

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

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