←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#
C++/CLI
Python
public void StartOptimizedLoad( 
   CodecsOptimizedLoadData data 
) 
public:  
   void StartOptimizedLoad( 
      CodecsOptimizedLoadData^ data 
   ) 
def StartOptimizedLoad(self,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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.