PdfDocumentOptionsAddEndDocument(String, Boolean, Boolean, Boolean) Method
Adds a PDF document from the given file after the result of Excel to PDF conversion. If the
AutoCloseExternalDocs property is true the
added document will be automatically closed when the final document is closed or saved
Namespace: Winnovative.ExcelToPdfAssembly: WnvExcelToPdf_NetCore (in WnvExcelToPdf_NetCore.dll) Version: 12.0.0
public void AddEndDocument(
string pdfFile,
bool enableHeaderAndFooter,
bool drawHeaderOnFirstPage,
bool drawFooterOnFirstPage
)
Public Sub AddEndDocument (
pdfFile As String,
enableHeaderAndFooter As Boolean,
drawHeaderOnFirstPage As Boolean,
drawFooterOnFirstPage As Boolean
)
public:
void AddEndDocument(
String^ pdfFile,
bool enableHeaderAndFooter,
bool drawHeaderOnFirstPage,
bool drawFooterOnFirstPage
)
member AddEndDocument :
pdfFile : string *
enableHeaderAndFooter : bool *
drawHeaderOnFirstPage : bool *
drawFooterOnFirstPage : bool -> unit
Parameters
- pdfFile String
- The full path of the PDF file to be inserted after conversion result
- enableHeaderAndFooter Boolean
- A flag indicating if the header and footer can be applied to the added document.
If this parameter is true then the interactive features like links and bookmarks are disabled in the added PDF document
- drawHeaderOnFirstPage Boolean
- A flag indicating if the header is drawn on first page of the appended document
- drawFooterOnFirstPage Boolean
- A flag indicating if the footer is drawn in first page of the appended document