PdfStreamDataOptions Enum
Specifies the options with which PdfStream data should be opened.
Fields
CacheDecoded | Caches the decoded data in the PdfStream or removes the decoded data from the PdfStream based on the combination of parameters of the Open(PdfStreamDataMode, PdfStreamDataState, PdfStreamDataOptions) method as explained in the remarks of that method. This option is useful if PdfStream (decoded) data will be frequently accessed so it doesn't have to be decoded each time. |
Default | The default options with which PdfStream data should be opened. Currently this option sets ReadToMemory if mode is set to Read and sets CacheDecoded if mode is set to Read and state is set to Encoded. |
None | The PdfStream data should be opened with no options specified. |
ReadToMemory | Reads the stream data from the input PDF file to a memory stream. This option is set by default, but it is useful not to set it if stream contains a lot of data which might cause OutOfMemoryException. This option is not applicable if the stream data is encrypted. In that case, currently, stream data is always decrypted from the input PDF file to a memory stream. |