Search Results for

    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
    Namespace: FastReport.Utils
    Assembly: FastReport.Base.dll
    Syntax
    public class Line

    Properties

    HasTabs

    Determines if this line has tabs.

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

    Last

    Determines if this line is last one.

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

    Left

    Gets the left coordinate.

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

    OriginalCharIndex

    Gets the char index in the original text.

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

    Renderer

    Gets the renderer.

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

    Strikeouts

    Gets a list of line segments used to draw strikeouts.

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

    Style

    Gets the style descriptor.

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

    Text

    Gets a text.

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

    Top

    Gets the top coordinate.

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

    Underlines

    Gets a list of line segments used to draw underlines.

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

    Width

    Gets the line width.

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

    Words

    Gets a list of words in this line.

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

    Methods

    CalcHeight()

    Calculates line height.

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

    Line height.

    Back to top © 1998-2026 Copyright Fast Reports Inc.