Knowledge Base and examples

Knowledge Base - Set single/double page mode

In PDFView.m, vopen() method, you can choose between two types of horizontal mode (left horizontal or right horizontal):

case 3:

  //for dual view

  //m_view = [[PDFVDual alloc] init:false :NULL :0 :NULL :0];

  //doublePage:YES;

  //for single view

  m_view = [[PDFVDual alloc] init:false :NULL :0 :verts :m_doc.pageCount];

  doublePage:NO;  

  break;

case 4:

  //for dual view

  m_view = [[PDFVDual alloc] init:true :NULL :0 :NULL :0];

  doublePage:YES;

  //for single view

  //m_view = [[PDFVDual alloc] init:true :NULL :0 :verts :m_doc.pageCount];

  //doublePage:NO; 

break;

 

 

You have to uncomment the command line that you’re looking for: for dual view or for single view.

Applies To

RadaeePDF SDK for iOS

Details

Created : 2015-01-19 17:26:44, Last Modified : 2015-02-16 14:15:58