load()

This function loads the specified PDF file.

Synopsis

int load(string filePath [, string password]);

Description

This function allows to load a document in the EWO.

The filePath is an absolute path to the document (e.g. use getPath() to get the path).

The optional password is used to view password protected PDF documents.

Example

The following example loads the pdf document "WinCC_OA.pdf" from the "D:/Pdfs/" directory.

main()
{
  Pdf_ewo1.load("D:/Pdfs/WinCC_OA.pdf");
}

Assignment

WebView EWO