Make PDF fit width in portrait/height in landscape - 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 Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: Make PDF fit width in portrait/height in landscape

Make PDF fit width in portrait/height in landscape 2 years 7 months ago #10518

  • jorisk
  • jorisk's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Karma: 1
  • Thank you received: 0
Hello,

Is it possible to make a PDF fit the width in portrait and the height in landscape mode with PDFReaderAct? I tried to change the params in the XML layout but nothing changed (and I think that com.radaee.reader.PDFReader act on the view, not the PDF itself). I am using the 3.4 version of the SDK.

Thanks by advance!

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

Make PDF fit width in portrait/height in landscape 2 years 7 months ago #10525

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
Hi,
please try to change this parameter from default_config() method of Global class :
def_view = 3;

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

Make PDF fit width in portrait/height in landscape 2 years 7 months ago #10526

  • jorisk
  • jorisk's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Karma: 1
  • Thank you received: 0
I already tried this, but it only works for the def_view = 2, but I don't want the curl effects.

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

Make PDF fit width in portrait/height in landscape 2 years 7 months ago #10546

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
Hi,
apologize us for the late reply.
I was referring to the last version of the library, you are using an old version of the library, I suggest you to check the last one with def_view = 3;

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

Make PDF fit width in portrait/height in landscape 2 years 7 months ago #10548

  • jorisk
  • jorisk's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Karma: 1
  • Thank you received: 0
Hi,
The 3.4 version is not up to date?

Or maybe it is a conflict while I updated to this version?
I changes all the files and rebuilt the project but the problem still appear...

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

Make PDF fit width in portrait/height in landscape 2 years 7 months ago #10550

  • jorisk
  • jorisk's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 37
  • Karma: 1
  • Thank you received: 0
Or maybe it doesn't work with PDFReaderAct ?

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum