Table of Contents

Class SvgCssUtils

Namespace
iText.Svg.Utils
Assembly
itext.svg.dll

Utility class that facilitates parsing values from CSS.

public sealed class SvgCssUtils
Inheritance
SvgCssUtils
Inherited Members

Methods

ConvertDoubleToString(double)

Converts a double to a String.

public static string ConvertDoubleToString(double value)

Parameters

value double

to be converted double value

Returns

string

the value in a String representation

ConvertFloatToString(float)

Converts a float to a String.

public static string ConvertFloatToString(float value)

Parameters

value float

to be converted float value

Returns

string

the value in a String representation

SplitValueList(string)

Splits a given String into a list of substrings.

public static IList<string> SplitValueList(string value)

Parameters

value string

the string to be split

Returns

IList<string>

a list containing the split strings, an empty list if the value is null or empty

Remarks

Splits a given String into a list of substrings. The string is split up by commas and whitespace characters (\t, \n, \r, \f).