Bug/Problem with PRO license - 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...
Here you should submit your bug reports with logcat.
  • Page:
  • 1

TOPIC: Bug/Problem with PRO license

Bug/Problem with PRO license 5 years 5 months ago #2661

  • Asdonio
  • Asdonio's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi,
I bought the Pro license, I set the pro license and watermark goes away.
I'm using the pdfviewer2.8.3beta7

When i test your code in the sample project, dual page mode works fine.
When I use it in my app
PDFPos pos = m_view.vGetPos(0, 0);
pos is always null in the onSizeChanged method.
protected void onSizeChanged( int w, int h, int oldw, int oldh )
	{
		super.onSizeChanged(w,h,oldw,oldh);
		if( m_view == null ) return;
		PDFPos pos = m_view.vGetPos(0, 0);
		m_view.vResize(w, h);
		m_view.vSetScale(0, 0, 0);
		if( pos != null )
		{
			if( m_goto_pageno >= 0 )
			{
				m_view.vGotoPage(m_goto_pageno);
				m_goto_pageno = -1;
			}
			else
				m_view.vSetPos(pos, 0, 0);
			m_view.vCenterPage(pos.pageno);
		}
	}

as you can see i'm using your code
is there a fix to the pos being always null?

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

Last edit: by prashant.meg.

Bug/Problem with PRO license 5 years 5 months ago #2663

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
oh, (0,0) seems out of page, it is in left margin side.
try:
www.radaee.com/files/PDFReader.rar

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

Last edit: by .

Bug/Problem with PRO license 5 years 5 months ago #2666

  • Asdonio
  • Asdonio's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I can't understand the problem, i changed the values from (0,0) to many values and nothing works, pos is always null.
In your example it keeps working.

I'm out of ideas

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

Bug/Problem with PRO license 5 years 5 months ago #2673

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
do you think just using PDFReader class?

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

Bug/Problem with PRO license 5 years 5 months ago #2683

  • Asdonio
  • Asdonio's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Yes I modified the PDFReaderAct and the PDFReader classes only.

Being able have the dual page to keep the right page and center it when I go to landscape is the only feature I'm missing in my project.

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

Bug/Problem with PRO license 5 years 5 months ago #2686

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
OK, it seems it's better to send me your demo peoject.
to: This email address is being protected from spambots. You need JavaScript enabled to view it.
i'll test it.

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

Last edit: by .
  • Page:
  • 1
Powered by Kunena Forum