C# Class iTextSharp.text.html.Markup

A class that contains all the possible tagnames and their attributes.
Exibir arquivo Open project: red-gate/iTextSharp-4.1.6

Public Methods

Method Description
DecodeColor ( String s ) : Color

Converts a Color into a HTML representation of this Color.

ParseAttributes ( string str ) : Properties

This method parses a string with attributes and returns a Properties object.

ParseLength ( String str, float actualFontSize ) : float
ParseLength ( string str ) : float

Parses a length.

RemoveComment ( String str, String startComment, String endComment ) : string

Method Details

DecodeColor() public static method

Converts a Color into a HTML representation of this Color.
public static DecodeColor ( String s ) : Color
s String
return Color

ParseAttributes() public static method

This method parses a string with attributes and returns a Properties object.
public static ParseAttributes ( string str ) : Properties
str string a string of this form: 'key1="value1"; key2="value2";... keyN="valueN" '
return System.util.Properties

ParseLength() public static method

public static ParseLength ( String str, float actualFontSize ) : float
str String
actualFontSize float
return float

ParseLength() public static method

Parses a length.
public static ParseLength ( string str ) : float
str string a length in the form of an optional + or -, followed by a number and a unit.
return float

RemoveComment() public static method

public static RemoveComment ( String str, String startComment, String endComment ) : string
str String
startComment String
endComment String
return string