Class TextProperties
Represents text properties.
Inheritance
System.Object
TextProperties
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Core.TextMeasurer
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class TextProperties
Constructors
TextProperties(String, Double, SubStringPosition)
Initializes a new instance of the TextProperties class.
Declaration
public TextProperties(string text, double size = 100, SubStringPosition subStringPosition = SubStringPosition.None)
Parameters
System.String
text
The text. |
System.Double
size
The size. |
SubStringPosition
subStringPosition
The sub string position. |
Properties
FlowDirection
Gets the flow direction of the text.
Declaration
public FlowDirection FlowDirection { get; }
Property Value
System.Windows.FlowDirection
The flow direction. |
Size
Gets the size.
Declaration
public double Size { get; }
Property Value
System.Double
The size. |
SubStringPosition
Gets the sub string position.
Declaration
public SubStringPosition SubStringPosition { get; }
Property Value
SubStringPosition
The sub string position. |
Text
Gets the text.
Declaration
public string Text { get; }
Property Value
System.String
The text. |