Search Results for

    Show / Hide Table of Contents

    Class HtmlTextRenderer.StyleDescriptor

    Represents a style used in HtmlTags mode. Color does not affect the equals function.

    Inheritance
    System.Object
    HtmlTextRenderer.StyleDescriptor
    Namespace: FastReport.Utils
    Assembly: FastReport.Base.dll
    Syntax
    public class StyleDescriptor

    Properties

    BackgroundColor

    Gets the background color.

    Declaration
    public Color BackgroundColor { get; }
    Property Value
    Type Description
    Color

    BaseLine

    Gets the baseline.

    Declaration
    public HtmlTextRenderer.BaseLine BaseLine { get; }
    Property Value
    Type Description
    HtmlTextRenderer.BaseLine

    Color

    Gets the text color.

    Declaration
    public Color Color { get; }
    Property Value
    Type Description
    Color

    Font

    Gets the base font.

    Declaration
    public FontFamily Font { get; }
    Property Value
    Type Description
    FontFamily

    FontStyle

    Gets the font style.

    Declaration
    public FontStyle FontStyle { get; }
    Property Value
    Type Description
    FontStyle

    Size

    Gets the font size.

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

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    FullEquals(HtmlTextRenderer.StyleDescriptor)

    returns true if objects realy equals

    Declaration
    public bool FullEquals(HtmlTextRenderer.StyleDescriptor obj)
    Parameters
    Type Name Description
    HtmlTextRenderer.StyleDescriptor obj
    Returns
    Type Description
    System.Boolean

    GetFont()

    Gets the actual font for this run.

    Declaration
    public Font GetFont()
    Returns
    Type Description
    Font

    The Font object.

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    ToHtml(FastString, Boolean)

    Converts the run to html string.

    Declaration
    public void ToHtml(FastString sb, bool close)
    Parameters
    Type Name Description
    FastString sb

    The string builder.

    System.Boolean close

    Whether to close style tags.

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