Aspose.CSS for .NET
A native .NET engine for Aspose.CSS’s CSS layout engine: it loads real HTML, exposes a standards-conformant DOM, and performs CSS parsing, cascade and layout with a rendering API that converts to raster images and PDF.
Aspose.CSS for .NET is Aspose.CSS's native .NET engine for standards-based CSS rendering, layout and conversion, built independently, like every other platform in the family. It loads real HTML, exposes a standards-conformant DOM, and converts to raster images and PDF, with CSS parsing, cascade and layout handled through a rendering API. Aspose.CSS is in development for .NET, Java, C++, Python and TypeScript.
Advanced .NET CSS API Features
Encoding detection & tokenizing
Tree construction
Standards-conformant DOM
Serialization
URL handling
CSSOM
286-property CSS cascade
CSS parsing
Layout engine
Rendering API
Raster image conversion
PDF conversion
CSS Parsing, Built for .NET
Aspose.CSS for .NET handles CSS parsing as part of its own native engine, built directly for the .NET runtime rather than adapted from another platform's code. Parsing turns the stylesheet text into the structured rules the cascade and layout stages consume next.
A 286-Property CSS Cascade
Once parsed, styles are resolved through a 286-property cascade, the same scope every Aspose.CSS platform targets, implemented natively for .NET. The cascade determines which declared value applies to each element before layout runs.