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

    Constructors

    StyleDescriptor(HtmlTextRenderer.StyleDescriptor)

    Declaration
    public StyleDescriptor(HtmlTextRenderer.StyleDescriptor styleDescriptor)
    Parameters
    Type Name Description
    HtmlTextRenderer.StyleDescriptor styleDescriptor

    StyleDescriptor(FontStyle, Color, HtmlTextRenderer.BaseLine, FontFamily, Single)

    Declaration
    public StyleDescriptor(FontStyle fontStyle, Color color, HtmlTextRenderer.BaseLine baseLine, FontFamily font, float size)
    Parameters
    Type Name Description
    FontStyle fontStyle
    Color color
    HtmlTextRenderer.BaseLine baseLine
    FontFamily font
    System.Single size

    Properties

    BackgroundColor

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

    BaseLine

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

    Color

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

    Font

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

    FontStyle

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

    Size

    Declaration
    public float Size { get; set; }
    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()

    Declaration
    public Font GetFont()
    Returns
    Type Description
    Font

    GetHashCode()

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

    ToHtml(FastString, Boolean)

    Declaration
    public void ToHtml(FastString sb, bool close)
    Parameters
    Type Name Description
    FastString sb
    System.Boolean close
    Back to top © 1998-2025 Copyright Fast Reports Inc.