Gets the current optimized load data.
public CodecsOptimizedLoadData GetOptimizedLoadData(
bool allowUnmanagedData
)
Public Function GetOptimizedLoadData(
ByVal allowUnmanagedData As Boolean
) As CodecsOptimizedLoadData
public:
CodecsOptimizedLoadData^ GetOptimizedLoadData(
bool allowUnmanagedData
)
allowUnmanagedData
Set to true to get managed (flat) or unmanaged(non-flat) load data.
Set to false to get only managed (flat) load data.
CodecsOptimizedLoadData object containing the current optimize load data being used by this RasterCodecs object or null if the current RasterCodecs
object is not using optimize load, or the last file format used does not support it, or the optimized load data is not compatible with the allowUnmanagedData parameter.
If the file format uses non-flat (unmanaged) load data:
If the file format uses flat managed load data, both GetOptimizedLoadData(true) and GetOptimizedLoadData(false) will return a CodecsOptimizedLoadData.
Important note: unmanaged or non-flat filter data is still owned by the RasterCodecs object. This means that the object returned by this method might be disposed if you load or obtain information about another file. You can take ownership of this object by calling DetachOptimizedLoadData.
GetOptimizedLoadData() is equivalent to GetOptimizedLoadData(false).
For more information, refer to Using the OptimizedLoad Functions to Speed Loading Large Files.
RasterCodecs.GetOptimizedLoadData()
RasterCodecs.DetachOptimizedLoadData
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document