ExpertPdf Html to Pdf Converter Library
GetPdfBytesFromUrl Method (url, internalLinksDocUrl)
NamespacesExpertPdf.HtmlToPdfPdfConverterGetPdfBytesFromUrl(String, String)
ExpertPdf Html to Pdf Converter Library
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.
Declaration Syntax
C#Visual BasicVisual C++
public byte[] GetPdfBytesFromUrl(
	string url,
	string internalLinksDocUrl
)
Public Function GetPdfBytesFromUrl ( 
	url As String,
	internalLinksDocUrl As String
) As Byte()
public:
array<unsigned char>^ GetPdfBytesFromUrl(
	String^ url, 
	String^ internalLinksDocUrl
)
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.
internalLinksDocUrl (String)
The full URL of the document referenced by the internal links from the HTML document.
Return Value
array<Byte>[]()[][]
An array of bytes containing the binary representation of the PDF document.

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)