Class HtmlTagMap
- Namespace
- iTextSharp.text.html
- Assembly
- iTextSharp.LGPLv2.Core.dll
The Tags -class maps several XHTML-tags to iText-objects.
public class HtmlTagMap : TagMap, IDictionary, ICollection, IReadOnlyDictionary<string, XmlPeer>, IReadOnlyCollection<KeyValuePair<string, XmlPeer>>, ISerializable, IDeserializationCallback, INullValueDictionary<string, XmlPeer>, IDictionary<string, XmlPeer>, ICollection<KeyValuePair<string, XmlPeer>>, IEnumerable<KeyValuePair<string, XmlPeer>>, IEnumerable
- Inheritance
-
HtmlTagMap
- Implements
- Inherited Members
Constructors
HtmlTagMap()
Constructs an HtmlTagMap.
public HtmlTagMap()
Methods
IsBody(string)
Checks if this is the root tag.
public static bool IsBody(string tag)
Parameters
tag
stringa tagvalue
Returns
- bool
true if tag is BODY or body
IsHead(string)
Checks if this is the head tag.
public static bool IsHead(string tag)
Parameters
tag
stringa tagvalue
Returns
- bool
true if tag is HEAD or head
IsHtml(string)
Checks if this is the root tag.
public static bool IsHtml(string tag)
Parameters
tag
stringa tagvalue
Returns
- bool
true if tag is HTML or html
IsLink(string)
Checks if this is the linl tag.
public static bool IsLink(string tag)
Parameters
tag
stringa tagvalue
Returns
- bool
true if tag is LINK or link
IsMeta(string)
Checks if this is the meta tag.
public static bool IsMeta(string tag)
Parameters
tag
stringa tagvalue
Returns
- bool
true if tag is META or meta
IsSpecialTag(string)
Checks if this is a special tag.
public static bool IsSpecialTag(string tag)
Parameters
tag
stringa tagvalue
Returns
- bool
true if tag is a HTML, HEAD, META, LINK or BODY tag (case insensitive)
IsTitle(string)
Checks if this is the title tag.
public static bool IsTitle(string tag)
Parameters
tag
stringa tagvalue
Returns
- bool
true if tag is TITLE or title