arts-pdf split pro 2.0 User Manual

Page of 58
 
ARTS PDF Split Pro™ Guide 
 
COM Object 
 
accepted.  
Parameters  
  
sSN – Valid serial number or use ‘DEMO’ to run in demo 
mode.  
SOldSN – Optional parameter. Valid serial number of the 
previous version. Only required if an upgrade serial is 
used for sSN. 
Return Value  
0 if serial number is accepted, COM will run in full.  
1 if serial is invalid, COM will run in demo mode.  
 
 
8.4.4. SetOverwriteMode 
 
 
SetOverwriteMode  
SetOverwriteMode (BOOL bOverwriteMode)  
Description  
Sets the overwrite mode.  
Parameters  
  
bOverwriteMode – True will overwrite existing files. 
 
 
8.4.5. SetUpdateMode 
 
 
SetOverwriteMode  
SetUpdateMode (BOOL bUpdateMode)  
Description  
Sets the mode for updating navigational elements.  
Parameters  
  
bUpdateMode – True will update navigational elements. 
 
 
8.4.6. SplitByBookmarks 
 
 
SplitByBookmarks  
Long SplitByBookmarks (String sInputFile, String  
sOutputFolder, Long lLowestLevel, Long lHighestLevel)  
Description   
This method splits a PDF using the split by bookmarks 
method.  
Parameters  
 
sInputFile– Pathname of the source PDF.  
sOutputFolder – Path of the destination folder where 
output files are placed.  
lLowestLevel – The lowest bookmark level to split.  
lHighestLevel – The lowest bookmark level to split.  
Return Value  
0 if PDF split is successful otherwise returns an error 
value.  
Related methods  
GetErrorMessage