Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Page_getAnnotPopupText - limits

More
IP: 192.168.0.71 8 years 7 months ago #12747 by razvar
Hi,
Looks like Page_getAnnotPopupText is limited to 1024 chars? I've tried increasing the buffer in PDFObjc.m but had no luck, the sticky note text annotation is trimmed to 1024.
Code:
-(NSString *)getPopupText { char buf[2048]; if( !Page_getAnnotPopupText( m_page, m_handle, buf, 2048 ) ) //still trimmed to 1024 return NULL; return [NSString stringWithUTF8String:buf]; }

Also, on a sticky note annotation only the "reply" text is returned, not the entire text as expected... Basically what I'm trying to do is show the pdf sticky note when user taps on it, but the actual sticky note text is truncated to 1024 chars and only the reply of the note will be returned by Page_getAnnotPopupText.

Any tips/workarounds for these? (registered user with pro version)

Thank you for your time.
Time to create page: 0.427 seconds
Powered by Kunena Forum