HiQPdf Documentation

PdfDocumentFromFile Method (String, UInt32, String, String, String)

HiQPdf Client for .NET Core
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: PdfDocument
The loaded PDF document
See Also

Reference