iDRS™ SDK 16
Loading...
Searching...
No Matches
CDefaultPageCollection Class Reference

CDefaultPageCollection is the default implementation for the IPageCollection interface. More...

#include <idrs_common.h>

Inheritance diagram for CDefaultPageCollection:
IPageCollection CObjPtr CObj CObj

Detailed Description

CDefaultPageCollection is the default implementation for the IPageCollection interface.

This default implementation will store pages in memory until a given memory treshold is reached, after which pages will be stored on disk as temporary files. This behavior can be configured via the StorageOptions property.

This means that this default implementation is able to automatically:

  • optimize performance for documents with a small number of pages (as all pages will be kept in memory)
  • ensure the memory consumption will not raise dramatically when processing documents with huge number of pages (as pages will be stored on disk past the specified memory threshold)