PDFViewCtrlOpenURLAsync Method (String, String, String) |
Open a PDF file at the given url. This works best with PDF's that
are linearized, as pages can be downloaded and viewed in random access order,
without the need to download the entire document. A viewing session can also be
persisted across multiple viewing/application sessions to remove redundant downloads
and improve overall performance by using the optional cache_pdf parameter.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public IAsyncAction OpenURLAsync(
string url,
string cache_pdf,
string password
)
Public Function OpenURLAsync (
url As String,
cache_pdf As String,
password As String
) As IAsyncAction
public:
virtual IAsyncAction^ OpenURLAsync(
[InAttribute] String^ url,
[InAttribute] String^ cache_pdf,
[InAttribute] String^ password
) sealed
function OpenURLAsync(url, cache_pdf, password);
Parameters
- url
- Type: SystemString
the url to open
- cache_pdf
- Type: SystemString
the cache file to be used. By default a temporary file will
be created and no caching will occur. Note that if disk caching is disabled this file
will not be used.
- password
- Type: SystemString
The PDF document password to use if the PDF itself
is password protected.
Return Value
Type:
IAsyncActionNo object or value is returned by this method when it completes.
Remarks Use OnDownloadChanged to track the download event.
See Also