Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: Bug of PDBookmarkGetByTitleASText

$
0
0

Yes, you got it. but it is even worse..... do you know how do I get that weird bookmark title?

Please run following code, it will make first bookmark become 00 ending bookmark.

First you should have a bookmark encoding as C format.

 

PDDocdoc=AVDocGetPDDoc(AVAppGetActiveDoc());
PDBookmarkroot=PDDocGetBookmarkRoot(doc);
PDBookmarkfirst=PDBookmarkGetFirstChild(root);
ASTexttitle=ASTextNew();
PDBookmarkGetTitleASText(first,title);
PDBookmarkSetTitleASText(first,title);
ASTextDestroy(title);

Viewing all articles
Browse latest Browse all 10848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>