how refresh Thumbnail ? - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1
  • 2

TOPIC: how refresh Thumbnail ?

how refresh Thumbnail ? 5 years 3 months ago #3312

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 64
  • Thank you received: 0
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 ]

Please Log in or Create an account to join the conversation.

Last edit: by patel_patel_patel.

how refresh Thumbnail ? 5 years 3 months ago #3313

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
invoke PDFThumbView.thumbUpdatePage(pageno)
to refresh a page, after the page modified.

Please Log in or Create an account to join the conversation.

how refresh Thumbnail ? 5 years 3 months ago #3314

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 64
  • Thank you received: 0
we cant find this method :(
we iOS no Android :| :(

Please Log in or Create an account to join the conversation.

how refresh Thumbnail ? 5 years 3 months ago #3315

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
sorry.
so, you shall new a method in PDFVThumb class like
-(void)vRefreshPage:(int)pageno;
-(void)vRefreshPage:(int)pageno
{
  [m_view vRenderPage:pageno];
  [self refresh];
}

Please Log in or Create an account to join the conversation.

Last edit: by .

how refresh Thumbnail ? 5 years 3 months ago #3317

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 64
  • Thank you received: 0
only -(void)refresh; method [not work]!

please help :|

Please Log in or Create an account to join the conversation.

how refresh Thumbnail ? 5 years 3 months ago #3319

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
[self setNeedsDisplay] instead...
to be ensure you call [PDFVThumb vRefreshPage] after you set annotation data.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum