Hello, on of our customers asked a question that we could not answer about PDF bookmarking. If we have a multi-page PDF for release and the PDF contains multiple sub-folders, can we release that PDF and have it bookmarked on each sub-section? If so, how do we do that?
=================================
Sorry, we don't understand your meaning for the "PDF contains multiple sub-folders"? do you mean that one PDF file contain all image files which come from multiple sub-folders? If yes, you can add the bookmark for each page without any problem, please refer to following sample code,
void AddTIFFImage(long id)
{
char szImageFile[256];
GetModulePath(szImageFile,"multipage.tif");
//add bookmark
int parentBookmark = pVerySetFunction(id, Very_Set_BookMark, 0, 0,"bookmark one",0);
//get multi page tiff page nums
int pagenum=pVeryGetFunction(id,Very_Get_ImagePageCount,0,0,szImageFile,0);
if(pagenum>4)
{
//set multi page tiff convert
int beginpage=2;
int pagenums=2;
pVerySetFunction(id,Very_Set_MultiPage,beginpage,pagenums,0,0);
}
if(pagenum)
pVeryAddImage(id,szImageFile);
}
Related Posts
Related posts:
how to declare the veryEncryptPDF function
How to convert text file to PDF file from C#?
What are new features included in the latest version of PDF Editor Toolkit Professional Version?
How to add comments to PDF header programmatically?
Help programmatically add text to an existing PDF
How to extract text from PDF with positions? How to call PDF Editor Toolkit Pro SDK from VBA source ...
How to use PDF Editor Toolkit Pro SDK from C# .net Core source code?
How to Use PDF Editor Toolkit Pro SDK to Merge and Combine Digitally Signed PDF Files Securely