[This is preliminary documentation and is subject to change.]

Creates a new CssStyleSheet.

Namespace: TallComponents.Web
Assembly: TallComponents.WebToPDF (in TallComponents.WebToPDF.dll) Version: 1.0.4.1

Syntax

C#
public CssStyleSheet(
	string path
)
Visual Basic
Public Sub New ( _
	path As String _
)

Parameters

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

Remarks

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

- path is a complete url

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

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

See Also