Viewer
Display Modes
When scrolling through pages of a document in CPDFView
, the scrolling direction can be changed by setting the page display direction.
- Vertical scrolling mode (also known as continuous mode) can be enabled by setting the page display direction to CPDFDisplayDirectionVertical
pdfView.displayDirection = CPDFDisplayDirectionVertical;
CPDFDisplayDirectionHorizontal
pdfView.displayDirection = CPDFDisplayDirectionHorizontal;
CPDFView
in CPDFKitConfig
CPDFKitShareConfig.displayDirection = CPDFDisplayDirectionVertical;
pdfView.displayTwoUp = YES;
pdfView.displayTwoUp = YES;
pdfView.displaysAsBook = YES;
Automatically trim PDF files white margins to resize pages. Crop mode can be enabled by setting the page display crop to Yes
pdfView.displayCrop = YES;