Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Horizontal View in PDFViewLayout

More
10 years 9 months ago #9069 by dashti
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
More
10 years 9 months ago #9079 by Davide
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.
More
10 years 9 months ago #9084 by dashti
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?
More
10 years 9 months ago #9091 by Davide
Hi,
you can try to edit PDFSetView() method of PDFLayoutView class and handle case 1 (horizontal view) as you want.
Time to create page: 0.406 seconds
Powered by Kunena Forum