PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

Constructor CssStyleSheet

Namespace TallComponents.PDF.Layout.Paragraphs
Class CssStyleSheet

Creates a new CssStyleSheet.

Syntax

public CssStyleSheet(String pathString basePath)

Parameters


String path
The (relative) (web)path to the stylesheet to load.

String basePath
Base path for loading path and included style sheets.

This 'wrapper' tries to resolve the loaction of the stylesheet by checking various types. The first matching is evaluated:

- path is already a complete url

- basepath is a url, appends the stylesheetName

- path is a local file (relative to current working folder)

- path is a local file (relative to given basepath)

- the application is running in a web context: the web path is resolved locally.

Download TallPDF.NET 4.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.