Class AdvancedTextRenderer.Word
Word represents single word. It may consist of one or several Runs, in case when HtmlTags are enabled in the main AdvancedTextRenderer class.
Inheritance
System.Object
AdvancedTextRenderer.Word
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: FastReport.Utils
Assembly: FastReport.OpenSource.dll
Syntax
public class Word
Constructors
Word(String, AdvancedTextRenderer.Line)
Declaration
public Word(string text, AdvancedTextRenderer.Line line)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | |
| AdvancedTextRenderer.Line | line |
Fields
text
Declaration
protected string text
Field Value
| Type | Description |
|---|---|
| System.String |
Properties
Left
Declaration
public float Left { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Renderer
Declaration
public AdvancedTextRenderer Renderer { get; }
Property Value
| Type | Description |
|---|---|
| AdvancedTextRenderer |
Runs
Declaration
public List<AdvancedTextRenderer.Run> Runs { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<AdvancedTextRenderer.Run> |
SpaceWidth
Declaration
public float SpaceWidth { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Text
Declaration
public string Text { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Top
Declaration
public float Top { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Width
Declaration
public float Width { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
AdjustRuns()
Declaration
public void AdjustRuns()
Draw()
Declaration
public void Draw()
SetLine(AdvancedTextRenderer.Line)
Declaration
public void SetLine(AdvancedTextRenderer.Line line)
Parameters
| Type | Name | Description |
|---|---|---|
| AdvancedTextRenderer.Line | line |