Gets a Document object representing the result of conversion of the specified URL to PDF.
The resulted Document object can be modified and saved to a file, to a stream, to a memory buffer or to a HTTP response.
The Document object must be closed after save to release the system resources used during conversion.
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public Document GetPdfDocumentObjectFromUrl( string url ) |
| Visual Basic |
|---|
Public Function GetPdfDocumentObjectFromUrl ( url As String ) As Document |
| Visual C++ |
|---|
public: Document^ GetPdfDocumentObjectFromUrl( String^ url ) |
Parameters
- url
- Type: System..::..String
The URL of the web page to be converted to PDF. The URL can be also the full path of a HTML file from the local file system.
Return Value
Type: DocumentThe Document object that can be modified and saved to a file, to a stream, to a memory buffer or to a HTTP response. The Document object must be closed after save to release the system resources used during conversion.