Class HtmlTextRenderer.StyleDescriptor
Represents a style used in HtmlTags mode. Color does not affect the equals function.
Inheritance
System.Object
HtmlTextRenderer.StyleDescriptor
Assembly: FastReport.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
| Type |
Name |
Description |
| System.Drawing.FontStyle |
fontStyle |
|
| System.Drawing.Color |
color |
|
| HtmlTextRenderer.BaseLine |
baseLine |
|
| System.Drawing.FontFamily |
font |
|
| System.Single |
size |
|
Properties
BackgroundColor
Declaration
public Color BackgroundColor { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
BaseLine
Declaration
public HtmlTextRenderer.BaseLine BaseLine { get; set; }
Property Value
Color
Declaration
public Color Color { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
Font
Declaration
public FontFamily Font { get; set; }
Property Value
| Type |
Description |
| System.Drawing.FontFamily |
|
FontStyle
Declaration
public FontStyle FontStyle { get; set; }
Property Value
| Type |
Description |
| System.Drawing.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
| Type |
Description |
| System.Drawing.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 |
|