FormattedPositionStyleEventArgs¶
Namespace: ThinkGeo.Core
Provides event data when a PositionStyle formats text for a feature.
public class FormattedPositionStyleEventArgs : System.EventArgs
Inheritance object → EventArgs → FormattedPositionStyleEventArgs
Properties¶
Text¶
Gets or sets the formatted text.
public string Text { get; set; }
Property Value¶
Shape¶
Gets or sets the shape being labeled.
public BaseShape Shape { get; set; }
Property Value¶
Constructors¶
FormattedPositionStyleEventArgs()¶
Initializes a new instance with default values.
public FormattedPositionStyleEventArgs()
FormattedPositionStyleEventArgs(string, BaseShape)¶
Initializes a new instance with the provided text and shape.
public FormattedPositionStyleEventArgs(string text, BaseShape shape)
Parameters¶
text string
Formatted text for the label.
shape BaseShape
Shape being labeled.