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

how refresh Thumbnail ?

More
IP: 192.168.0.70 12 years 7 months ago - 12 years 7 months ago #3312 by truculent
when draw rect or etc thumbnail not update
is there a method for refresh thumbnail ? [save index of page for thumbnail ] [only render again]

i call PDFThumbNailinit(pageno); it's work but after use it my thumbnail position going a little to left
& after paging it's back to correct position :( [my thumbnail is RTL ]
Last edit: 12 years 7 months ago by patel_patel_patel.
More
IP: 192.168.0.70 12 years 7 months ago #3313 by radaee
Replied by radaee on topic how refresh Thumbnail ?
invoke PDFThumbView.thumbUpdatePage(pageno)
to refresh a page, after the page modified.
More
IP: 192.168.0.70 12 years 7 months ago #3314 by truculent
Replied by truculent on topic how refresh Thumbnail ?
we cant find this method :(
we iOS no Android :| :(
More
IP: 192.168.0.70 12 years 7 months ago - 12 years 7 months ago #3315 by radaee
Replied by radaee on topic how refresh Thumbnail ?
sorry.
so, you shall new a method in PDFVThumb class like
Code:
-(void)vRefreshPage:(int)pageno;
Code:
-(void)vRefreshPage:(int)pageno { [m_view vRenderPage:pageno]; [self refresh]; }
Last edit: 12 years 7 months ago by .
More
IP: 192.168.0.70 12 years 7 months ago #3317 by truculent
Replied by truculent on topic how refresh Thumbnail ?
only -(void)refresh; method [not work]!

please help :|
More
IP: 192.168.0.70 12 years 7 months ago #3319 by radaee
Replied by radaee on topic how refresh Thumbnail ?
[self setNeedsDisplay] instead...
to be ensure you call [PDFVThumb vRefreshPage] after you set annotation data.
Time to create page: 0.416 seconds
Powered by Kunena Forum