arts-pdf split pro 2.0 User Manual

Page of 58
 
ARTS PDF Split Pro™ Guide 
 
COM Object 
 
 
8.4.  Object ARTSSplitPro  
 
The ARTSSplitPro object carries informational properties as well as methods for the 
functionality to split a PDF file. ARTSSplitPro offers you the following methods:  
 
METHOD 
DESCRIPTION 
GetErrorMessage 
Returns error message  
GetVersionNumber 
Returns ARTS PDF Split Pro™ version number  
SetLicenceKey Sets 
the serial number  
SetOverwriteMode 
Sets the overwrite mode  
SetUpdateMode 
Sets the mode for updating navigational elements 
SplitByBookmarks 
Splits a PDF by bookmark levels  
SplitByControlFile 
Splits a PDF by control file  
SplitByCoordFile 
Splits a PDF by coordinate file  
SplitByFileSize 
Splits a PDF by file size  
SplitIntoSinglePages 
Splits a PDF into single pages  
 
 
8.4.1. GetErrorMessage 
 
 
GetErrorMessage  
String GetErrorMessage(Long lErrorCode)  
Description  
Returns an error message for unsuccessful split results.  
Parameters  
  
lErrorCode – the error value of the split result. 
Return Value  
String of text describing the error that occurred. 
Related methods  
SplitByBookmarks, SplitByControlFile, SplitByCoordFile, 
SplitByFileSize, SplitIntoSinglePages  
 
 
8.4.2. GetVersionNumber 
 
 
GetVersionNumber  
String GetVersionNumber( )  
Description  
Returns the version number of ARTS PDF Split Pro COM.  
Return Value  
Version number in the format of X.X[X]. 
 
 
8.4.3. SetLicenceKey 
 
 
SetLicenceKey  
Long SetLicenceKey (String sSN, String sOldSN)  
Description  
Sets the serial number to run COM in full version or demo 
mode. COM will run in full version only if the serial is