multidiskscanner SearchSize property
Return to Introduction  Previous page  Next page
Applies to
dcMultiDiskScanner and dcDiskScanner components.  

Declaration
type  
  TSearchSize = class  
  published  
    property AnySize: Boolean; // True by default  
    property MinSizeKB: Integer;  
    property MaxSizeKB: Integer;  
  end;  

Description
The SearchSize is the list of properties that controls the minimum and maximum file size range for files that dcMultiDiskScanner must found.  
 
To specify the size range - make AnySize property False (AnySize = True means that DiskScanner component will find files with ANY size) and specify minimum and maximum sizes in kilobytes at MinSizeKB and MaxSizeKB properties.  
 
For example, if you would like to find files with size at least 50 kilobytes and at most 100 kilobytes, make MinSizeKB = 50, MaxSizeKB = 100 and AnySize = False.  

See also
Matches, SearchAttributes, SearchSize, SearchTime properties.