Gets the current optimized load data for the RasterCodecs object.
public CodecsOptimizedLoadData GetOptimizedLoadData()
Public Function GetOptimizedLoadData() As CodecsOptimizedLoadData
public:
CodecsOptimizedLoadData^ GetOptimizedLoadData()
A CodecsOptimizedLoadData object containing the current flat (unmanaged) optimized load data being used by this RasterCodecs object. The method can return null if the current RasterCodecs
object is not using non-flat (unmanaged) optimized load data, or the last file format used did not support optimized load data.
There are two types of optimized load data (the actual type is determined by the source file format):
Flat (unmanaged). This method can only return a CodecsOptimizedLoadData object for this type of optimized load data.
Non-flat (unmanaged). This method cannot return this type of data for backward-compatibility reasons. GetOptimizedLoadData() will return null if the optimized load data is of this type. Instead, call GetOptimizedLoadData(true) to obtain this type of load data.
This method is equivalent to GetOptimizedLoadData(bool). Load data obtained with this method contains only managed data, so it does not need to be disposed.
Newer applications are encouraged to use GetOptimizedLoadData(bool) instead of this method.
For more information, refer to Using the OptimizedLoad Functions to Speed Loading Large Files.
CodecsOptimizedLoadData.UnmanagedData
StartOptimizedLoad(CodecsOptimizedLoadData)
Using the OptimizedLoad Functions to Speed Loading Large Files
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