Show / Hide Table of Contents

Class AdvancedTextRenderer.Line

Line represents single text line. It consists of one or several Words. Simple line (that does not contain tabs, html tags, and is not justified) has single AdvancedTextRenderer.Word which contains all the text.

Inheritance
System.Object
AdvancedTextRenderer.Line
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 Line

Constructors

Line(String, AdvancedTextRenderer.Paragraph, Int32)

Declaration
public Line(string text, AdvancedTextRenderer.Paragraph paragraph, int originalCharIndex)
Parameters
Type Name Description
System.String text
AdvancedTextRenderer.Paragraph paragraph
System.Int32 originalCharIndex

Properties

HasTabs

Declaration
public bool HasTabs { get; }
Property Value
Type Description
System.Boolean

Last

Declaration
public bool Last { get; }
Property Value
Type Description
System.Boolean

Left

Declaration
public float Left { get; }
Property Value
Type Description
System.Single

OriginalCharIndex

Declaration
public int OriginalCharIndex { get; }
Property Value
Type Description
System.Int32

Renderer

Declaration
public AdvancedTextRenderer Renderer { get; }
Property Value
Type Description
AdvancedTextRenderer

Strikeouts

Declaration
public List<RectangleF> Strikeouts { get; }
Property Value
Type Description
System.Collections.Generic.List<RectangleF>

Style

Declaration
public AdvancedTextRenderer.StyleDescriptor Style { get; }
Property Value
Type Description
AdvancedTextRenderer.StyleDescriptor

Text

Declaration
public string Text { get; }
Property Value
Type Description
System.String

Top

Declaration
public float Top { get; set; }
Property Value
Type Description
System.Single

Underlines

Declaration
public List<RectangleF> Underlines { get; }
Property Value
Type Description
System.Collections.Generic.List<RectangleF>

Width

Declaration
public float Width { get; }
Property Value
Type Description
System.Single

Words

Declaration
public List<AdvancedTextRenderer.Word> Words { get; }
Property Value
Type Description
System.Collections.Generic.List<AdvancedTextRenderer.Word>

Methods

AlignWords(HorzAlign)

Declaration
public void AlignWords(HorzAlign align)
Parameters
Type Name Description
HorzAlign align

CalcHeight()

Declaration
public float CalcHeight()
Returns
Type Description
System.Single

Draw()

Declaration
public void Draw()

MakeUnderlines()

Declaration
public void MakeUnderlines()
Back to top Generated by DocFX