[]
Load a PDF or HMTL document from a file.
public void LoadDocument(string fileName, string password = null)
| Type | Name | Description |
|---|---|---|
| string | fileName | The name of the file that contains the PDF or HTML document. |
| string | password | A user password for a a PDF document. |
To load a document from an HTML string, use the LoadDocumentFromString(string) method.
Load a PDF or HTML document from a Stream.
public void LoadDocument(Stream stream, string password = null)
| Type | Name | Description |
|---|---|---|
| Stream | stream | A Stream containing a PDF or HTML document. |
| string | password | A user password for a a PDF document. |