FormattingPositionStyleEventArgs¶
Namespace: ThinkGeo.Core
Provides data when a PositionStyle is formatting text prior to rendering.
public class FormattingPositionStyleEventArgs : System.EventArgs
Inheritance object → EventArgs → FormattingPositionStyleEventArgs
Properties¶
Text¶
Gets or sets the text being formatted.
public string Text { get; set; }
Property Value¶
Shape¶
Gets or sets the shape associated with the text.
public BaseShape Shape { get; set; }
Property Value¶
Constructors¶
FormattingPositionStyleEventArgs()¶
Initializes a new instance with default text and shape.
public FormattingPositionStyleEventArgs()
FormattingPositionStyleEventArgs(string, BaseShape)¶
Initializes a new instance with the provided text and shape.
public FormattingPositionStyleEventArgs(string text, BaseShape shape)
Parameters¶
text string
Text to format.
shape BaseShape
Shape associated with the text.