Class EntitiesToSymbol
- Namespace
- iTextSharp.text.xml.simpleparser
- Assembly
- iTextSharp.LGPLv2.Core.dll
This class contains entities that can be used in an entity tag.
public static class EntitiesToSymbol
- Inheritance
-
EntitiesToSymbol
- Inherited Members
Methods
Get(string, Font)
Gets a chunk with a symbol character.
public static Chunk Get(string e, Font font)
Parameters
e
stringa symbol value (see Entities class: alfa is greek alfa,...)
font
Fontthe font if the symbol isn't found (otherwise Font.SYMBOL)
Returns
- Chunk
a Chunk
GetCorrespondingSymbol(string)
Looks for the corresponding symbol in the font Symbol.
public static char GetCorrespondingSymbol(string name)
Parameters
name
stringthe name of the entity
Returns
- char
the corresponding character in font Symbol