Horizontal View in PDFViewLayout - 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

TOPIC: Horizontal View in PDFViewLayout

Horizontal View in PDFViewLayout 3 years 5 months ago #9069

  • dashti
  • dashti's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
I want to update my application with SDK 3.4 and use PDFViewLayout. I need to use horizontal view which was present in old PDFReader but now there is no such option in PDFViewLayout. Is it possible to edit codes in the library to access this option?

BTW, PDFReader.PDFOpen has rtol while in PDFViewLayout.PDFOpen it is not present.

Thanks

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

Horizontal View in PDFViewLayout 3 years 4 months ago #9079

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
can you please better explain your needs?
What do you mean for horizontal view? Try to set def_view = 1 parameter of default_config() method
BTW, If you have a Professional or a Premium license you can follow this to get the library source code and edit what you want.

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

Horizontal View in PDFViewLayout 3 years 4 months ago #9084

  • dashti
  • dashti's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
In PDFLayoutView.PDFSetView() there is a switch on Global.def_view which does not have any case 1 (horizontal view) and its default goes to PDFLayoutVert.
I do have full license, but there is nothing like PDFLayoutHoriz in the library to use that. Which class I should edit to have something like PDFLayoutHoriz?

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

Horizontal View in PDFViewLayout 3 years 4 months ago #9091

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
you can try to edit PDFSetView() method of PDFLayoutView class and handle case 1 (horizontal view) as you want.

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

  • Page:
  • 1
Powered by Kunena Forum