Compacts a multiple page TIFF file by removing unused pages.
Visual Basic |
---|
Public Sub CompactFile( _ ByVal sourceFile As String, _ ByVal destFile As String _ ) |
- sourceFile
- The path of the multiple page TIFF file that needs to be compacted.
- destFile
- The destination path to the new compacted multiple page TIFF file.
This method copies all pages from the sourceFile to the destFile. Pages in the sourceFile which have been deleted or are not pointed to by any IFDs are not copied.
Note: Available in Professional Edition.