LoadPreviewCSS(Stream) Method
In This Topic
Loads the preview CSS from a given stream.
The base URL is not given; it assumes a simple, self-contained CSS.
It also assumes the stream is encoded in UTF8.
Syntax
'Declaration
Public Overloads Sub LoadPreviewCSS( _
ByVal As System.IO.Stream _
)
public void LoadPreviewCSS(
System.IO.Stream
)
Parameters
- stream
- The stream from which the design CSS is loaded.
Example
string value = "p {color:red;}";
Stream stream = new MemoryStream(Encoding.UTF8.GetBytes(value));
LoadDesignCSS(stream);
See Also