Class TextFragment
Represents text segment.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Text
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class TextFragment : PositionContentElement, IFixedDocumentElement, IAlphaConstantProvider
Constructors
TextFragment()
TextFragment(String)
Initializes a new instance of the TextFragment class.
Declaration
public TextFragment(string text)
Parameters
System.String
text
The text. |
Properties
AlphaConstant
Gets or sets the alpha constant. Specifying the constant shape or constant opacity value to be used for nonstroking operations.
Declaration
public double? AlphaConstant { get; set; }
Property Value
System.Nullable<System.Double>
The alpha constant. |
CharacterSpacing
Gets or sets the character spacing.
Declaration
public double? CharacterSpacing { get; set; }
Property Value
System.Nullable<System.Double>
The character spacing. |
Fill
Gets or sets the fill color.
Declaration
public ColorBase Fill { get; set; }
Property Value
ColorBase
The fill color. |
Font
Gets or sets the font.
Declaration
public FontBase Font { get; set; }
Property Value
FontBase
The font. |
FontSize
Gets or sets the size of the font.
Declaration
public double FontSize { get; set; }
Property Value
System.Double
The size of the font. |
HorizontalScaling
Gets or sets the horizontal scaling.
Declaration
public double? HorizontalScaling { get; set; }
Property Value
System.Nullable<System.Double>
The horizontal scaling. |
MiterLimit
Gets or sets the miter limit.
Declaration
public double? MiterLimit { get; set; }
Property Value
System.Nullable<System.Double>
The miter limit. |
RenderingMode
Gets or sets the rendering mode.
Declaration
public RenderingMode RenderingMode { get; set; }
Property Value
RenderingMode
The rendering mode. |
Stroke
Gets or sets the stroke color.
Declaration
public ColorBase Stroke { get; set; }
Property Value
ColorBase
The stroke color. |
StrokeDashArray
Gets or sets the stroke dash array.
Declaration
public IEnumerable<double> StrokeDashArray { get; set; }
Property Value
System.Collections.Generic.IEnumerable<System.Double>
The stroke dash array. |
StrokeDashOffset
Gets or sets the stroke dash offset.
Declaration
public double StrokeDashOffset { get; set; }
Property Value
System.Double
The stroke dash offset. |
StrokeLineCap
Gets or sets the stroke line cap.
Declaration
public LineCap StrokeLineCap { get; set; }
Property Value
LineCap
The stroke line cap. |
StrokeLineJoin
Gets or sets the stroke line join.
Declaration
public LineJoin StrokeLineJoin { get; set; }
Property Value
LineJoin
The stroke line join. |
StrokeThickness
Gets or sets the width of the stroke line.
Declaration
public double StrokeThickness { get; set; }
Property Value
System.Double
The width of the stroke line. |
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
System.String
The text. |
TextRise
Gets or sets the text rise.
Declaration
public double? TextRise { get; set; }
Property Value
System.Nullable<System.Double>
The text rise. |
WordSpacing
Gets or sets the word spacing.
Declaration
public double? WordSpacing { get; set; }
Property Value
System.Nullable<System.Double>
The word spacing. |
Methods
CreateClonedInstance()
Creates the cloned instance.
Declaration
protected override PositionContentElement CreateClonedInstance()
Returns
PositionContentElement
The cloned instance. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
System.String
A string that represents the current object. |