Loads a password protected PDF document from a file and returns the created PDF document using a server password
Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax
public static PdfDocument FromFile( string server, uint port, string serverPassword, string file, string password )
Parameters
- server
- Type: SystemString
The server IP or name - port
- Type: SystemUInt32
The server port number - serverPassword
- Type: SystemString
The server password - file
- Type: SystemString
The file from where to load the PDF document - password
- Type: SystemString
The PDF document password
Return Value
Type: PdfDocumentThe loaded PDF document
See Also