Class CssToken
Represents a CSS token with its type and value
Inheritance
System.Object
CssToken
Namespace: IronPdf
Assembly: IronPdf.dll
Syntax
public class CssToken : Object
Constructors
CssToken(CssTokenType, String)
Creates a new CSS token
Declaration
public CssToken(CssTokenType type, string value)
Parameters
Type | Name | Description |
---|---|---|
CssTokenType | type | Token type |
System.String | value | Token value |
Properties
Type
Type of the CSS token (declaration, comment, delimiter, etc.)
Declaration
public CssTokenType Type { get; set; }
Property Value
Type | Description |
---|---|
CssTokenType |
Value
The actual string value of the token
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String |