Table of Contents

Class CssDeclaration

Namespace
iText.StyledXmlParser.Css
Assembly
itext.styledxmlparser.dll

Class to store a CSS declaration.

public class CssDeclaration
Inheritance
CssDeclaration
Inherited Members

Constructors

CssDeclaration(string, string)

Instantiates a new CSS declaration.

public CssDeclaration(string property, string expression)

Parameters

property string

the property

expression string

the expression

Methods

GetExpression()

Gets the expression.

public virtual string GetExpression()

Returns

string

the expression

GetProperty()

Gets the property.

public virtual string GetProperty()

Returns

string

the property

SetExpression(string)

Sets the expression.

public virtual void SetExpression(string expression)

Parameters

expression string

the new expression

ToString()

public override string ToString()

Returns

string