PdfConverterGetPdfBytesFromUrl(String) Method |
Converts the specified URL into a PDF document and returns the rendered PDF document as an array of bytes.
This method can be used to perform HTML to PDF conversion in internal memory.
Namespace: ExpertPdf.Anywhere.HtmlToPdfAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic byte[] GetPdfBytesFromUrl(
string url
)
Public Function GetPdfBytesFromUrl (
url As String
) As Byte()
Parameters
- url 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
ByteAn array of bytes containing the binary representation of the PDF document.
See Also