PagePorter Class Library

HtmlPageReader.Open Method (String, Encoding)

Opens an HTML file for reading with a specified encoding.

[Visual Basic]
Overloads Public Sub Open( _
   ByVal filename As String, _
   ByVal encoding As Encoding _
)
[C#]
public void Open(
   string filename,
   Encoding encoding
);

Parameters

filename
The filename of the HTML file to open. Cannot be an http URL.
encoding
An Encoding object that describes the encoding and character set of the HTML file.

See Also

HtmlPageReader Class | Parastream.Web.UI Namespace | HtmlPageReader.Open Overload List