HiQPdf Documentation

PdfDocumentAddDocument Method (String, String, Boolean, Boolean, Boolean)

HiQPdf Client for .NET Core
Adds a password protected PDF file to the end of this document and optionally applies the header and footer of this document to added PDF

Namespace:  HiQPdfClient
Assembly:  HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax

public void AddDocument(
	string pdfFile,
	string password,
	bool applyHeaderAndFooter,
	bool applyHeaderInFirstPage,
	bool applyFooterInFirstPage
)

Parameters

pdfFile
Type: SystemString
The full path of the PDF file to add
password
Type: SystemString
The password of added PDF document
applyHeaderAndFooter
Type: SystemBoolean
Controls is the header and footer of this document are applied to the added document
applyHeaderInFirstPage
Type: SystemBoolean
Controls if the header is applied in first page of the added document
applyFooterInFirstPage
Type: SystemBoolean
Controls if the footer is applied in first page of the added document
See Also

Reference