PdfDocument.ImageCacheSize Property
Specifies the size of the image cache (in megabytes).
Namespace: DevExpress.Docs.Pdf
Assembly: DevExpress.Docs.Pdf.v26.1.dll
Declaration
Property Value
| Type | Description |
|---|---|
| Int64 | The size of the image cache in megabytes. Set this property to 0 to set unlimited cache size. |
Remarks
PDF documents can contain multiple images. The PDF Document API caches decoded image data in memory to avoid repeated decoding when you access the same image multiple times. Use this property to limit the amount of memory allocated for the image cache.
Set this property to 0 to allow unlimited cache size. Reduce the cache size to lower memory consumption when you process documents with many large images.
See Also