- Posts: 580
- Thank you received: 67
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 position on zoom
11 years 2 months ago #8498
by emanuele
Replied by emanuele on topic Page position on zoom
You can open a new ticket (that is private) here:
www.radaeepdf.com/support/tickets
and attach the pdf file
11 years 2 months ago #8499
by wdbutt
Replied by wdbutt on topic Page position on zoom
Ok please check ticket. I created new ticket.
- imran.nazeer
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
11 years 2 months ago - 11 years 2 months ago #8516
by imran.nazeer
Replied by imran.nazeer on topic Page position on zoom
I'm facing the same issue.
apparently it stops my production too
apparently it stops my production too
Last edit: 11 years 2 months ago by imran.nazeer.
11 years 2 months ago #8517
by emanuele
Replied by emanuele on topic Page position on zoom
Hi,
the issue is already been solved.
check the Knowledge Base to search from the first page ("Search from the first page" article)
the issue is already been solved.
check the Knowledge Base to search from the first page ("Search from the first page" article)
- imran.nazeer
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
11 years 2 months ago #8518
by imran.nazeer
Replied by imran.nazeer on topic Page position on zoom
Is this one ?
Scroll horizontally with UIScrollView paging (page by page)
Limit horizontal page change when a page is zoomed
Scroll horizontally with UIScrollView paging (page by page)
Limit horizontal page change when a page is zoomed
- imran.nazeer
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
11 years 2 months ago #8519
by imran.nazeer
Replied by imran.nazeer on topic Page position on zoom
App crashed in single zoom itself.
I dont know whats wrong with PDFViewer. Regression issues.
- (void)scrollViewDidScroll:(UIScrollView *)scrollView
{
if (m_cur_page > 0 && m_zoom > 1 && (self.contentOffset.x * m_scale + m_w > [m_view vGetPage:m_cur_page-1].GetX)){
#if DOUBLE_PAGE == 1
if (UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]) || m_cur_page % 2 == 0)
#endif
self.contentOffset = CGPointMake(([m_view vGetPage:m_cur_page-1].GetX / m_scale) - (m_w / m_scale), self.contentOffset.y);
}
if (m_cur_page + 1 < m_doc.pageCount && m_zoom > 1 && (self.contentOffset.x * m_scale < [m_view vGetPage:m_cur_page+1].GetX + [m_view vGetPage:m_cur_page+1].GetWidth)){
#if DOUBLE_PAGE == 1
if (UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]) || m_cur_page % 2 != 0)
#endif
self.contentOffset = CGPointMake(([m_view vGetPage:m_cur_page+1].GetX / m_scale) + ([m_view vGetPage:m_cur_page+1].GetWidth / m_scale), self.contentOffset.y);
}
[m_view vMoveTo:self.contentOffset.x * m_scale :self.contentOffset.y * m_scale];
[self refresh];
CGRect rect = CGRectMake( self.contentOffset.x, self.contentOffset.y, m_w/m_scale, m_h/m_scale );
m_child.frame = rect;
m_child.backgroundColor = [[UIColor alloc] initWithRed:0 green:0 blue:0 alpha:0];
}
I dont know whats wrong with PDFViewer. Regression issues.
- (void)scrollViewDidScroll:(UIScrollView *)scrollView
{
if (m_cur_page > 0 && m_zoom > 1 && (self.contentOffset.x * m_scale + m_w > [m_view vGetPage:m_cur_page-1].GetX)){
#if DOUBLE_PAGE == 1
if (UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]) || m_cur_page % 2 == 0)
#endif
self.contentOffset = CGPointMake(([m_view vGetPage:m_cur_page-1].GetX / m_scale) - (m_w / m_scale), self.contentOffset.y);
}
if (m_cur_page + 1 < m_doc.pageCount && m_zoom > 1 && (self.contentOffset.x * m_scale < [m_view vGetPage:m_cur_page+1].GetX + [m_view vGetPage:m_cur_page+1].GetWidth)){
#if DOUBLE_PAGE == 1
if (UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]) || m_cur_page % 2 != 0)
#endif
self.contentOffset = CGPointMake(([m_view vGetPage:m_cur_page+1].GetX / m_scale) + ([m_view vGetPage:m_cur_page+1].GetWidth / m_scale), self.contentOffset.y);
}
[m_view vMoveTo:self.contentOffset.x * m_scale :self.contentOffset.y * m_scale];
[self refresh];
CGRect rect = CGRectMake( self.contentOffset.x, self.contentOffset.y, m_w/m_scale, m_h/m_scale );
m_child.frame = rect;
m_child.backgroundColor = [[UIColor alloc] initWithRed:0 green:0 blue:0 alpha:0];
}
Time to create page: 0.417 seconds