Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1
  • 2

TOPIC:

how refresh Thumbnail ? 10 years 8 months ago #3312

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • 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 ? 10 years 8 months ago #3313

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
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 ? 10 years 8 months ago #3314

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • 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 ? 10 years 8 months ago #3315

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
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 ? 10 years 8 months ago #3317

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • 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 ? 10 years 8 months ago #3319

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
[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