Foxit PDF SDK  9.1
PDFScanManager Class Reference
Inheritance diagram for PDFScanManager:

Instance Methods

(UIViewController *) - getPDFScanView
 Get the PDFScan controller. More...
 
(instancetype) - NS_UNAVAILABLE
 
(void) - saveAsPDF:
 Save as PDF with file path. More...
 
(void) - setItemHiddenWithType:hidden:
 Set the item of photos hidden in the camera viewcontroller of PDFScan. More...
 

Class Methods

(FSErrorCode+ initializeCompression:serial2:
 Initialize the FoxitMobileRDKScanning Compression module with additional parameters. More...
 
(FSErrorCode+ initializeScanner:serial2:
 Initialize the FoxitMobileRDKScanning module with additional parameters. More...
 
(instancetype) + NS_UNAVAILABLE
 
(PDFScanManager *) + shareManager
 Singleton mode of PDFScanManager. More...
 

Properties

ScanPDFDoneCallBack doneCallBack
 Callback after user click 'done' button in the camera viewcontroller of PDFScan. The callback will return pdffilePath by saveasPd.f. More...
 
PDFScanMenuViewManagermenuViewManager
 User custom view manager. More...
 
ScanPDFSessionPageCountChangeCallBack pageCountCallBack
 
ScanPDFSaveAsCallBack saveAsCallBack
 Callback after the file is saved. More...
 
PDFScanToolbarManagertoolbarManager
 User custom toolbar manager . More...
 

Method Documentation

◆ getPDFScanView

- (UIViewController*) getPDFScanView

Get the PDFScan controller.

Scan module start interface.

Returns
return the pdcscan viewcontroller.

◆ initializeCompression:serial2:

+ (FSErrorCode) initializeCompression: (unsigned long)  serial1
serial2: (unsigned long)  serial2 

Initialize the FoxitMobileRDKScanning Compression module with additional parameters.

Successful initialization of the SDK requires a valid serial number.

Parameters
[in]serial1First part of the serial number.
[in]serial2Second part of the serial number.
Returns
FSErrSuccess when the serial number is valid and initialization is successful. FSErrInvalidLicense when the serial number is invalidand initialization fails. FSErrRightsExpired when serial number is valid but expired.

◆ initializeScanner:serial2:

+ (FSErrorCode) initializeScanner: (unsigned long)  serial1
serial2: (unsigned long)  serial2 

Initialize the FoxitMobileRDKScanning module with additional parameters.

Successful initialization of the SDK requires a valid serial number.

Parameters
[in]serial1First part of the serial number.
[in]serial2Second part of the serial number.
Returns
FSErrSuccess when the serial number is valid and initialization is successful. FSErrInvalidLicense when the serial number is invalidand initialization fails. FSErrRightsExpired when serial number is valid but expired.

◆ NS_UNAVAILABLE [1/2]

+ (instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE [2/2]

- (instancetype) NS_UNAVAILABLE

◆ saveAsPDF:

- (void) saveAsPDF: (NSString *)  pdfFilePath

Save as PDF with file path.

Save as PDF with file path, after saving will callback the function of ScanPDFSaveAsCallBack.

Parameters
[in]pdfFilePathThe pdf file path with saveas.

◆ setItemHiddenWithType:hidden:

- (void) setItemHiddenWithType: (FSScanCameraControllerItemType itemType
hidden: (BOOL)  hidden 

Set the item of photos hidden in the camera viewcontroller of PDFScan.

hidden is YES otherwise is NO, default is NO.

Parameters
[in]hiddenhidden is YES otherwise is NO.

◆ shareManager

+ (PDFScanManager *) shareManager

Singleton mode of PDFScanManager.

Initialize the PDFScanManager module return the object of PDFScanManager.

Returns
The object of PDFScanManager.

Property Documentation

◆ doneCallBack

- (ScanPDFDoneCallBack) doneCallBack
readwritenonatomiccopy

Callback after user click 'done' button in the camera viewcontroller of PDFScan. The callback will return pdffilePath by saveasPd.f.

◆ menuViewManager

- (PDFScanMenuViewManager*) menuViewManager
readnonatomicstrong

User custom view manager.

◆ pageCountCallBack

- (ScanPDFSessionPageCountChangeCallBack) pageCountCallBack
readwritenonatomiccopy

◆ saveAsCallBack

- (ScanPDFSaveAsCallBack) saveAsCallBack
readwritenonatomiccopy

Callback after the file is saved.

◆ toolbarManager

- (PDFScanToolbarManager*) toolbarManager
readnonatomicstrong

User custom toolbar manager .