Search Results for

    Show / Hide Table of Contents

    Class CssTokenType

    Types of CSS tokens that can be encountered during parsing

    Inheritance
    System.Object
    CssTokenType
    Namespace: IronPdf
    Assembly: IronPdf.dll
    Syntax
    public sealed class CssTokenType : Enum

    CssTokenType identifies the category of a CSS token encountered during stylesheet parsing in IronPDF. Declaration is the primary value, representing a CSS property-value pair. Comment marks comment blocks, Delimiter covers punctuation and separator characters, and Other captures any token that does not fit a named category. See the IronPDF documentation for CSS handling details.

    Fields

    Comment

    A CSS comment

    Declaration
    public const CssTokenType Comment
    Field Value
    Type Description
    CssTokenType

    Declaration

    A CSS declaration (property: value)

    Declaration
    public const CssTokenType Declaration
    Field Value
    Type Description
    CssTokenType

    Delimiter

    A delimiter like semicolon

    Declaration
    public const CssTokenType Delimiter
    Field Value
    Type Description
    CssTokenType

    Other

    Other content (whitespace, etc.)

    Declaration
    public const CssTokenType Other
    Field Value
    Type Description
    CssTokenType

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget