←Select platform

StartOptimizedLoad(CodecsOptimizedLoadData) Method

Summary

Continues speeding up the loading of pages from the same source image file or document in this RasterCodecs object.

Syntax
C#
VB
C++
public void StartOptimizedLoad( 
   CodecsOptimizedLoadData data 
) 
Public Sub StartOptimizedLoad( 
   ByVal data As CodecsOptimizedLoadData 
) 
public:  
   void StartOptimizedLoad( 
      CodecsOptimizedLoadData^ data 
   ) 

Parameters

data

Optimized load data to use.

Remarks

Optimizes getting information, loading, or conversion from a file with multiple pages. Call this method before a loop that involves loading from the same source file or stream. Call StopOptimizedLoad when finished.

This method should be used only if the source file is the same and its contents is unchanged.

This method can greatly speed up a loop involving multiple GetInformation, GetInformationAsync, Load, LoadAsync, or Convert) methods for certain formats (for example, TXT, DOCX, and PDF files).

For more information, refer to Using the OptimizedLoad Functions to Speed Loading Large Files.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.