Tagged PDF

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);
}

VeryPDF
VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!