Multipage Processing
- Show/hide the Skip Page button:
DocReader.shared.functionality.showSkipNextPageButton = true
[RGLDocReader shared].functionality.showSkipNextPageButton = YES;
- Set the hex color code for the Skip Page button background:
DocReader.shared.customization.multipageButtonBackgroundColor = UIColor.red
[RGLDocReader shared].customization.multipageButtonBackgroundColor = [UIColor redColor];
- Turn on/off the expecting page turn animation:
DocReader.shared.customization.showNextPageAnimation = true
[RGLDocReader shared].customization.showNextPageAnimation = YES;
- You can set a front image for the multipage animation. If not set, the default image is used:
DocReader.shared.customization.multipageAnimationFrontImage = UIImage(named: "icon")
[RGLDocReader shared].customization.multipageAnimationFrontImage = [UIImage imageNamed:@"icon"];
- To change the content mode of the front image of the multipage animation, use one of the
UIView.ContentMode
members:
DocReader.shared.customization.multipageAnimationFrontImageContentMode = UIView.ContentMode.scaleAspectFit
[RGLDocReader shared].customization.multipageAnimationFrontImageContentMode = UIViewContentModeScaleAspectFit;
- You can set a back image for the multipage animation. If not set, the default image is used:
DocReader.shared.customization.multipageAnimationBackImage = UIImage(named: "icon")
[RGLDocReader shared].customization.multipageAnimationBackImage = [UIImage imageNamed:@"icon"];
- To change the content mode of the back image of the multipage animation, use one of the
UIView.ContentMode
members:
DocReader.shared.customization.multipageAnimationBackImageContentMode = UIView.ContentMode.scaleAspectFit
[RGLDocReader shared].customization.multipageAnimationBackImageContentMode = UIViewContentModeScaleAspectFit;