- Posts: 64
- Thank you received: 0
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 ?
IP: 192.168.0.70
12 years 7 months ago - 12 years 7 months ago #3312
by truculent
how refresh Thumbnail ? was created 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 ]
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
Last edit: 12 years 7 months ago by patel_patel_patel.
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.
to refresh a page, after the page modified.
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
we iOS no Android
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
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 .
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
please help
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.
to be ensure you call [PDFVThumb vRefreshPage] after you set annotation data.
Time to create page: 0.416 seconds