Skip to content

FormattedPositionStyleEventArgs

Namespace: ThinkGeo.Core

Provides event data when a PositionStyle formats text for a feature.

public class FormattedPositionStyleEventArgs : System.EventArgs

Inheritance objectEventArgsFormattedPositionStyleEventArgs

Properties

Text

Gets or sets the formatted text.

public string Text { get; set; }

Property Value

string

Shape

Gets or sets the shape being labeled.

public BaseShape Shape { get; set; }

Property Value

BaseShape

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.