Class HtmlTextRenderer.StyleDescriptor
Represents a style used in HtmlTags mode. Color does not affect the equals function.
Inheritance
System.Object
HtmlTextRenderer.StyleDescriptor
Assembly: FastReport.Base.dll
Syntax
public class StyleDescriptor
Constructors
StyleDescriptor(HtmlTextRenderer.StyleDescriptor)
Declaration
public StyleDescriptor(HtmlTextRenderer.StyleDescriptor styleDescriptor)
Parameters
StyleDescriptor(FontStyle, Color, HtmlTextRenderer.BaseLine, FontFamily, Single)
Declaration
public StyleDescriptor(FontStyle fontStyle, Color color, HtmlTextRenderer.BaseLine baseLine, FontFamily font, float size)
Parameters
Properties
BackgroundColor
Declaration
public Color BackgroundColor { get; set; }
Property Value
BaseLine
Declaration
public HtmlTextRenderer.BaseLine BaseLine { get; set; }
Property Value
Color
Declaration
public Color Color { get; set; }
Property Value
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
Returns
Type |
Description |
System.Boolean |
|
GetFont()
Declaration
Returns
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 |
|