IPDFDocumentAddBookmarksToPDF Method |
Creates a new PDF (based on an existing PDF) with bookmarks. The old PDF is deleted as part of the process.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax string AddBookmarksToPDF(
string sFileName,
Dictionary<int, string> dBookmarks
)
Function AddBookmarksToPDF (
sFileName As String,
dBookmarks As Dictionary(Of Integer, String)
) As String
Parameters
- sFileName
- Type: SystemString
The file name + path of the existing PDF - dBookmarks
- Type: System.Collections.GenericDictionaryInt32, String
The set of bookmarks to add. We expect a page number / page name dictionary combination
Return Value
Type:
StringThe file name + path of the newly created PDF.
See Also