INFO: What HTML Tags Does the RichTextBox Control in ActiveReports for .NET 2.0 Support?


05-03-2005, 8:35 PM

The RichTextBox control in ActiveReports for .NET 2.0 supports a limited subset of tags and attributes for HTML.

The following are a list of the Tags and related attributes that are supported:

Tag Attribute(s)
B (Bold) none
I (Italic) none
P (Paragraph) align, style
STRONG none
BIG none
SMALL none
PRE none
FONT face, size, color, style
BODY bgcolor, background, text, topmargin, leftmargin
H1 - H6 none
BR (Line Break) none
EM (Emphasized) none
U (Underline) none
IMG src, align, height, width, hspace, vspace
SUP (Superscript) none
SUB (Subscript) none
CENTER none
TABLE align, width, cellspacing, cellpadding, border, height, style
TR (Table Row) align
TH (Table Heading) align, border, rowspan, colspan, width
TD (Table Column) align, border, rowspan, colspan, width
LI (List Item) type, value (Disc, Circle, Square)
OL (Ordered List) type
UL (Unordered List) none
STRIKE (Strike Through) none

The style attribute supports the following inline style types: text-align, line-height, text-indent, font-family, font-size, padding, padding-top, padding-bottom, padding-left, padding-right, border, border-top, border-bottom, border-left, border-right, border-width, border-top-width, border-bottom-width, border-left-width, border-right-width, border-color, border-style, margin, margin-top, margin-bottom, margin-left, margin-right.